From 46c0115361b8e63a74814b90b165e5fcb2ce284d Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 13 Jul 2012 17:10:56 +0000 Subject: [package] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@32704 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- uhttpd-utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'uhttpd-utils.h') diff --git a/uhttpd-utils.h b/uhttpd-utils.h index 31047f5..9de9191 100644 --- a/uhttpd-utils.h +++ b/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 { \ -- cgit v1.2.1