diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-07-13 17:10:56 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-07-13 17:10:56 +0000 |
commit | 46c0115361b8e63a74814b90b165e5fcb2ce284d (patch) | |
tree | 490d5893ef4ee299dc177dc9bb5c10ac3eb160ea /uhttpd-utils.h | |
parent | 945edd6c0c9e6bd1ad4daa4cc204f5ca283b81b5 (diff) | |
download | uhttpd-46c0115361b8e63a74814b90b165e5fcb2ce284d.tar.gz |
[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
Diffstat (limited to 'uhttpd-utils.h')
-rw-r--r-- | uhttpd-utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 { \ |