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