rename function name
This commit is contained in:
parent
bc306eaf8a
commit
750ca51e43
2
main.c
2
main.c
@ -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
2
vger.c
@ -359,7 +359,7 @@ read_request(char *request)
|
||||
|
||||
|
||||
void
|
||||
rmdbldot(char *request)
|
||||
remove_double_dot(char *request)
|
||||
{
|
||||
char *pos = NULL;
|
||||
|
||||
|
2
vger.h
2
vger.h
@ -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 *, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user