svn commit: [26185] trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Wed Apr 22 13:52:23 UTC 2009
Author: vda
Date: 2009-04-22 13:52:22 +0000 (Wed, 22 Apr 2009)
New Revision: 26185
Log:
httpd: allow empty lines in conf file
Modified:
trunk/busybox/networking/httpd.c
Changeset:
Modified: trunk/busybox/networking/httpd.c
===================================================================
--- trunk/busybox/networking/httpd.c 2009-04-22 13:49:16 UTC (rev 26184)
+++ trunk/busybox/networking/httpd.c 2009-04-22 13:52:22 UTC (rev 26185)
@@ -546,9 +546,11 @@
}
*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;
More information about the busybox-cvs
mailing list