projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0a569d
)
file: remove unused "auth" member from struct path_info
author
Jo-Philipp Wich
<
[email protected]
>
Sun, 2 Jul 2017 14:24:07 +0000
(16:24 +0200)
committer
Jo-Philipp Wich
<
[email protected]
>
Sun, 2 Jul 2017 14:24:07 +0000
(16:24 +0200)
Signed-off-by: Jo-Philipp Wich <
[email protected]
>
file.c
patch
|
blob
|
history
uhttpd.h
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index e20071b1186a1fa9adca3cf28c00818a2ee306d4..a4d9b1d4b2402e7dbec8dec893db224ef99b2f83 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(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 b358a0b44236aa6e00b2805e9a12ca3a2d29f75b..374cd72186ab7359272eeee21ff320c465e6c102 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 *auth;
bool redirected;
struct stat stat;
const struct interpreter *ip;