rename function name

This commit is contained in:
prx 2022-08-22 13:49:38 +02:00
parent bc306eaf8a
commit 750ca51e43
3 changed files with 3 additions and 3 deletions

2
main.c
View File

@ -58,7 +58,7 @@ main(int argc, char **argv)
uridecode(query);
uridecode(path);
rmdbldot(path);
remove_double_dot(path);
/* is it cgi ? */
if (*cgi_dir)

2
vger.c
View File

@ -359,7 +359,7 @@ read_request(char *request)
void
rmdbldot(char *request)
remove_double_dot(char *request)
{
char *pos = NULL;

2
vger.h
View File

@ -46,7 +46,7 @@ void check_path(char *, size_t, int, size_t);
ssize_t display_file(const char *);
int do_cgi(const char *, const char *, const char *, const char *, const char *);
void drop_privileges(const char *, const char *, const char *);
void rmdbldot(char *);
void remove_double_dot(char *);
char * set_path(char *, size_t, int, const char *);
void split_request(const char *, char *, char *, char *);
void status(const int, const char *, ...);