diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:04:01 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:04:01 +0100 |
commit | 7074704eb0b50f755f30ef21bbeb8fa064e2df5d (patch) | |
tree | b84509f1b2ac0b565b03914c4fd4f907d9d4cefc /src/mod_userdir.c | |
parent | c0f89a02702b44a811cac511838cbd217ee5dd82 (diff) | |
download | lighttpd-7074704eb0b50f755f30ef21bbeb8fa064e2df5d.tar.gz |
Imported Upstream version 1.4.30upstream/1.4.30
Diffstat (limited to 'src/mod_userdir.c')
-rw-r--r-- | src/mod_userdir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mod_userdir.c b/src/mod_userdir.c index f0fc005..4a1967f 100644 --- a/src/mod_userdir.c +++ b/src/mod_userdir.c @@ -166,7 +166,6 @@ static int mod_userdir_patch_connection(server *srv, connection *con, plugin_dat URIHANDLER_FUNC(mod_userdir_docroot_handler) { plugin_data *p = p_d; - int uri_len; size_t k; char *rel_url; #ifdef HAVE_PWD_H @@ -182,8 +181,6 @@ URIHANDLER_FUNC(mod_userdir_docroot_handler) { */ if (p->conf.path->used == 0) return HANDLER_GO_ON; - uri_len = con->uri.path->used - 1; - /* /~user/foo.html -> /home/user/public_html/foo.html */ if (con->uri.path->ptr[0] != '/' || |