aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index e5ad7f65e..ba65e1361 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1452,7 +1452,9 @@ static int checkPerm(const char *path, const char *request)
}
#endif
if (strcmp(p, request) == 0) {
+#ifdef CONFIG_FEATURE_HTTPD_AUTH_MD5
set_remoteuser_var:
+#endif
config->remoteuser = strdup(request);
if(config->remoteuser)
config->remoteuser[(u - request)] = 0;