aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd-utils.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-13 17:10:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-13 17:10:56 +0000
commit00f1b1d62abc566e394d8b4dbf1d7580ffe3321f (patch)
tree718e7ab3e5f025f07db5100413597133928a7c38 /package/uhttpd/src/uhttpd-utils.h
parentabc3d9493b23166714af2a3e592ff0edbb297495 (diff)
downloadupstream-00f1b1d62abc566e394d8b4dbf1d7580ffe3321f.tar.gz
upstream-00f1b1d62abc566e394d8b4dbf1d7580ffe3321f.tar.bz2
upstream-00f1b1d62abc566e394d8b4dbf1d7580ffe3321f.zip
uhttpd: various changes
- remove unused variables - simply ignore command line args which belong to not enabled features - resolve peer address at accept() time, should solve (#11850) - remove floating point operations where possible SVN-Revision: 32704
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r--package/uhttpd/src/uhttpd-utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h
index 31047f5554..9de9191948 100644
--- a/package/uhttpd/src/uhttpd-utils.h
+++ b/package/uhttpd/src/uhttpd-utils.h
@@ -115,7 +115,9 @@ struct path_info * uh_path_lookup(struct client *cl, const char *url);
struct listener * uh_listener_add(int sock, struct config *conf);
struct listener * uh_listener_lookup(int sock);
-struct client * uh_client_add(int sock, struct listener *serv);
+struct client * uh_client_add(int sock, struct listener *serv,
+ struct sockaddr_in6 *peer);
+
struct client * uh_client_lookup(int sock);
#define uh_client_error(cl, code, status, ...) do { \