remove unused parameter
This commit is contained in:
parent
f8d215869d
commit
e3932483ef
2
main.c
2
main.c
|
@ -57,7 +57,7 @@ main(int argc, char **argv)
|
|||
|
||||
read_request(request);
|
||||
split_request(request, hostname, path, query);
|
||||
set_path(request, path, sizeof(path), virtualhost, hostname);
|
||||
set_path(path, sizeof(path), virtualhost, hostname);
|
||||
//get_query(path, query, sizeof(query));
|
||||
|
||||
/* percent decode */
|
||||
|
|
2
vger.c
2
vger.c
|
@ -380,7 +380,7 @@ read_request(char *request)
|
|||
}
|
||||
|
||||
char *
|
||||
set_path(const char *request, char *path, size_t pathsiz, int virtualhost, const char *hostname)
|
||||
set_path(char *path, size_t pathsiz, int virtualhost, const char *hostname)
|
||||
{
|
||||
char tmp[GEMINI_REQUEST_MAX] = {'\0'};
|
||||
|
||||
|
|
2
vger.h
2
vger.h
|
@ -48,7 +48,7 @@ int do_cgi(const char *, const char *, const char *, const char *, const char *
|
|||
void drop_privileges(const char *, const char *, const char *);
|
||||
void split_dir_file(char *, char *, size_t, char *, size_t);
|
||||
char * get_query(char *, char *, size_t);
|
||||
char * set_path(const char *, char *, size_t, int, const char *);
|
||||
char * set_path(char *, size_t, int, const char *);
|
||||
void status(const int, const char *, ...);
|
||||
void strip_trailing_slash(char *);
|
||||
int uridecode (char *);
|
||||
|
|
Loading…
Reference in New Issue