diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-21 23:24:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-21 23:24:42 +0000 |
commit | 78ee7c853a8c140544c549215e979c06bfb8c8f0 (patch) | |
tree | 04fadeadbdf4fba6d47ba69ac237a5c1bb44e6a0 | |
parent | 6fa3ab3cf13395831b1a3624e13e66af42b4ac38 (diff) | |
download | busybox-w32-78ee7c853a8c140544c549215e979c06bfb8c8f0.tar.gz busybox-w32-78ee7c853a8c140544c549215e979c06bfb8c8f0.tar.bz2 busybox-w32-78ee7c853a8c140544c549215e979c06bfb8c8f0.zip |
httpd: fix trivial bug (spotted by Alex Landau)
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index e4922e509..b31b73687 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -626,7 +626,7 @@ static void parse_conf(const char *path, int flag) | |||
626 | } | 626 | } |
627 | *host_port++ = '\0'; | 627 | *host_port++ = '\0'; |
628 | if (strncmp(host_port, "http://", 7) == 0) | 628 | if (strncmp(host_port, "http://", 7) == 0) |
629 | c += 7; | 629 | host_port += 7; |
630 | if (*host_port == '\0') { | 630 | if (*host_port == '\0') { |
631 | bb_error_msg("config error '%s' in '%s'", buf, cf); | 631 | bb_error_msg("config error '%s' in '%s'", buf, cf); |
632 | continue; | 632 | continue; |