summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 252ad6c..ddcb03b 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -2713,8 +2713,8 @@ static void mini_httpd_nommu(int server_socket, int argc, char **argv)
/* Run a copy of ourself in inetd mode */
re_exec(argv_copy);
}
- argv_copy[0][0] &= 0x7f;
/* parent, or vfork failed */
+ argv_copy[0][0] &= 0x7f; /* undo re_rexec() damage */
close(n);
} /* while (1) */
/* never reached */