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