From 99957f6c6ff429f17d6d6002fef4d4ef7de8844a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 2 Jul 2017 16:24:07 +0200 Subject: [PATCH] file: remove unused "auth" member from struct path_info Signed-off-by: Jo-Philipp Wich --- file.c | 5 ++--- uhttpd.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) 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; -- 2.25.1