← Commit list

78ee7c853

Denis Vlasenko
Denis Vlasenko
2007-10-21
FAILED Duration: 12s

Subject

httpd: fix trivial bug (spotted by Alex Landau)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/httpd.c+1 -1
@@ -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;