summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-07-02 16:24:07 +0200
committerJo-Philipp Wich <jo@mein.io>2017-07-02 16:24:07 +0200
commit99957f6c6ff429f17d6d6002fef4d4ef7de8844a (patch)
tree08bbf494e334c9a3f456fe72b1001f14442942ef
parentc0a569de53db4a6cafa736386fd6feade4cd09f7 (diff)
file: remove unused "auth" member from struct path_info
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--file.c5
-rw-r--r--uhttpd.h1
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;