Fix embarassing CGI bug

This commit is contained in:
Neale Pickett 2013-02-04 22:34:16 -07:00
parent 93a6686843
commit 9d1adda404
1 changed files with 1 additions and 1 deletions

View File

@ -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);