diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-05 19:35:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-05 19:35:38 +0000 |
commit | 6e1d16d0d2ed757f503d60fb99bcb6191fd4c0a2 (patch) | |
tree | 795e14f074c3e1691e57ee4add5f0693e139e075 | |
parent | 62f58cd112dc4682e550d365d2e96ec302f7fcf2 (diff) | |
download | upstream-6e1d16d0d2ed757f503d60fb99bcb6191fd4c0a2.tar.gz upstream-6e1d16d0d2ed757f503d60fb99bcb6191fd4c0a2.tar.bz2 upstream-6e1d16d0d2ed757f503d60fb99bcb6191fd4c0a2.zip |
[package] uhttpd: revert unrelated change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23261 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/uhttpd/src/uhttpd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/uhttpd/src/uhttpd.c b/package/uhttpd/src/uhttpd.c index 86b7e63dd1..a818e1c450 100644 --- a/package/uhttpd/src/uhttpd.c +++ b/package/uhttpd/src/uhttpd.c @@ -558,9 +558,7 @@ static void uh_mainloop(struct config *conf, fd_set serv_fds, int max_fd) if( conf->lua_state && uh_path_match(conf->lua_prefix, req->url) ) { - /* auth ok? */ - if( uh_auth_check(cl, req, pin) ) - conf->lua_request(cl, req, conf->lua_state); + conf->lua_request(cl, req, conf->lua_state); } else #endif |