file: remove unused "auth" member from struct path_info
authorJo-Philipp Wich <jo@mein.io>
Sun, 2 Jul 2017 14:24:07 +0000 (16:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 2 Jul 2017 14:24:07 +0000 (16:24 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
file.c
uhttpd.h

diff --git a/file.c b/file.c
index e20071b..a4d9b1d 100644 (file)
--- a/file.c
+++ b/file.c
@@ -734,14 +734,13 @@ static int field_len(const char *ptr)
        _field(phys) \
        _field(name) \
        _field(info) \
        _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;
 
 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;
 
 
        cl->dispatch.req_free = uh_free_pending_request;
 
index b358a0b..374cd72 100644 (file)
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -146,7 +146,6 @@ struct path_info {
        const char *name;
        const char *info;
        const char *query;
        const char *name;
        const char *info;
        const char *query;
-       const char *auth;
        bool redirected;
        struct stat stat;
        const struct interpreter *ip;
        bool redirected;
        struct stat stat;
        const struct interpreter *ip;