summaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 243d76f..794a39e 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -546,9 +546,11 @@ static void parse_conf(const char *path, int flag)
}
*p = '\0';
strlen_buf = p - buf;
+ if (strlen_buf == 0)
+ continue;
}
- /* empty or strange line? */
+ /* strange line? */
if (after_colon == NULL || *after_colon == '\0')
goto config_error;