← Commit list

00643ca52

Denis Vlasenko
Denis Vlasenko
2009-04-22
FAILED Duration: 37s

Subject

httpd: allow empty lines in conf file

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+3 -1
@@ -546,9 +546,11 @@ static void parse_conf(const char *path, int flag)
}
*p = '\0';
strlen_buf = p - buf;
+ if (strlen_buf == 0)
+ continue;
}
- /* empty or strange line? */
+ /* strange line? */
if (after_colon == NULL || *after_colon == '\0')
goto config_error;