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:
6fa3ab3
)
httpd: fix trivial bug (spotted by Alex Landau)
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 21 Oct 2007 23:24:42 +0000
(23:24 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 21 Oct 2007 23:24:42 +0000
(23:24 -0000)
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index e4922e50988b430eff4ca12ea007f872dbd4e7d8..b31b7368713b11422e872d243877d3d081bedd5f 100644
(file)
--- a/
networking/httpd.c
+++ b/
networking/httpd.c
@@
-626,7
+626,7
@@
static void parse_conf(const char *path, int flag)
}
*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;