From: Jo-Philipp Wich Date: Sun, 2 Jul 2017 14:24:07 +0000 (+0200) Subject: file: remove unused "auth" member from struct path_info X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99957f6c6ff429f17d6d6002fef4d4ef7de8844a;p=oweals%2Fuhttpd.git file: remove unused "auth" member from struct path_info Signed-off-by: Jo-Philipp Wich --- diff --git a/file.c b/file.c index e20071b..a4d9b1d 100644 --- a/file.c +++ b/file.c @@ -734,14 +734,13 @@ static int field_len(const char *ptr) _field(phys) \ _field(name) \ _field(info) \ - _field(query) \ - _field(auth) + _field(query) static void uh_defer_script(struct client *cl, struct dispatch_handler *d, struct path_info *pi) { struct deferred_request *dr; - char *_root, *_phys, *_name, *_info, *_query, *_auth; + char *_root, *_phys, *_name, *_info, *_query; cl->dispatch.req_free = uh_free_pending_request; diff --git a/uhttpd.h b/uhttpd.h index b358a0b..374cd72 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -146,7 +146,6 @@ struct path_info { const char *name; const char *info; const char *query; - const char *auth; bool redirected; struct stat stat; const struct interpreter *ip;