diff options
author | Jan Kneschke <jan@kneschke.de> | 2006-09-23 11:18:31 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2006-09-23 11:18:31 +0000 |
commit | 2fc301555923a490685fe27660a70448943f701f (patch) | |
tree | 7d701d156387b68627c96d1e90f482eb2a96ee15 | |
parent | d7a7fae9d30bae8814a5996a97342a8c09bc9cad (diff) | |
download | lighttpd-git-2fc301555923a490685fe27660a70448943f701f.tar.gz |
changed name of shadowed variable
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1336 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | src/mod_auth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mod_auth.c b/src/mod_auth.c index 78104379..b075a2bc 100644 --- a/src/mod_auth.c +++ b/src/mod_auth.c @@ -193,20 +193,20 @@ static handler_t mod_auth_uri_handler(server *srv, connection *con, void *p_d) { /* search auth-directives for path */ for (k = 0; k < p->conf.auth_require->used; k++) { - buffer *req = p->conf.auth_require->data[k]->key; + buffer *require = p->conf.auth_require->data[k]->key; - if (req->used == 0) continue; - if (con->uri.path->used < req->used) continue; + if (require->used == 0) continue; + if (con->uri.path->used < require->used) continue; /* if we have a case-insensitive FS we have to lower-case the URI here too */ if (con->conf.force_lowercase_filenames) { - if (0 == strncasecmp(con->uri.path->ptr, req->ptr, req->used - 1)) { + if (0 == strncasecmp(con->uri.path->ptr, require->ptr, require->used - 1)) { auth_required = 1; break; } } else { - if (0 == strncmp(con->uri.path->ptr, req->ptr, req->used - 1)) { + if (0 == strncmp(con->uri.path->ptr, require->ptr, require->used - 1)) { auth_required = 1; break; } |