mirror of https://github.com/dirtbags/moth.git
Fix embarassing CGI bug
This commit is contained in:
parent
93a6686843
commit
9d1adda404
|
@ -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