diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index da33146..818590f 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -715,7 +715,7 @@ static char *decodeString(char *orig, int option_d) } value1 = value1 * 16 + value2; if (!option_d && (value1 == '/' || value1 == '\0')) { - /* caller takes it as indication of invalid + /* caller takes it as indication of invalid * (dangerous wrt exploits) chars */ return orig + 1; } @@ -998,7 +998,7 @@ static int sendCgi(const char *url, pid = fork(); if (pid < 0) return 0; - + if (!pid) { /* child process */ char *script; |