projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf4a0e
)
httpd: allow empty lines in conf file
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Apr 2009 13:52:22 +0000
(13:52 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Apr 2009 13:52:22 +0000
(13:52 -0000)
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 243d76f94a71ae8a7e83967e00073fb0a4167ce6..794a39ea05608b0b0ac92accacd3905b3017171c 100644
(file)
--- 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;