summaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 227803abf..5bbc7ee85 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1432,7 +1432,7 @@ static void send_cgi_and_exit(
1432 if (script != url) { /* paranoia */ 1432 if (script != url) { /* paranoia */
1433 *script = '\0'; 1433 *script = '\0';
1434 if (chdir(url + 1) != 0) { 1434 if (chdir(url + 1) != 0) {
1435 bb_perror_msg("chdir %s", url + 1); 1435 bb_perror_msg("chdir(%s)", url + 1);
1436 goto error_execing_cgi; 1436 goto error_execing_cgi;
1437 } 1437 }
1438 // not needed: *script = '/'; 1438 // not needed: *script = '/';