mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-25 12:49:54 +00:00
httpd: fix trivial bug (spotted by Alex Landau)
This commit is contained in:
parent
6fa3ab3cf1
commit
78ee7c853a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user