svn commit: trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Sun Oct 21 16:24:42 PDT 2007
Author: vda
Date: 2007-10-21 16:24:42 -0700 (Sun, 21 Oct 2007)
New Revision: 20315
Log:
httpd: fix trivial bug (spotted by Alex Landau)
Modified:
trunk/busybox/networking/httpd.c
Changeset:
Modified: trunk/busybox/networking/httpd.c
===================================================================
--- trunk/busybox/networking/httpd.c 2007-10-21 20:13:40 UTC (rev 20314)
+++ trunk/busybox/networking/httpd.c 2007-10-21 23:24:42 UTC (rev 20315)
@@ -626,7 +626,7 @@
}
*host_port++ = '\0';
if (strncmp(host_port, "http://", 7) == 0)
- c += 7;
+ host_port += 7;
if (*host_port == '\0') {
bb_error_msg("config error '%s' in '%s'", buf, cf);
continue;
More information about the busybox-cvs
mailing list