mirror of https://github.com/dirtbags/moth.git
Fix embarassing CGI bug
This commit is contained in:
parent
ed2fe5e1fc
commit
d8efb3d35c
|
@ -218,7 +218,7 @@ cgi_result(int code, char *desc, char *fmt, ...)
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
if (is_cgi) {
|
if (is_cgi) {
|
||||||
printf("%d %s\r\n", code, desc);
|
printf("Status: %d %s\r\n", code, desc);
|
||||||
}
|
}
|
||||||
cgi_head(desc);
|
cgi_head(desc);
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
|
|
Loading…
Reference in New Issue