|
|
@ -154,10 +154,11 @@ main(){ |
|
|
|
http_code = HTTP_OK; |
|
|
|
http_code = HTTP_OK; |
|
|
|
fcgi_out: |
|
|
|
fcgi_out: |
|
|
|
cgiFree(cgi); |
|
|
|
cgiFree(cgi); |
|
|
|
printf("Status: %d\n", http_code); |
|
|
|
printf("Content-Type: text/plain; charset=utf-8\r\n"); |
|
|
|
printf("Content-Type: text/plain; charset=utf-8\n"); |
|
|
|
printf("Status: %d\r\n", http_code); |
|
|
|
|
|
|
|
printf("\r\n", http_code); |
|
|
|
if (http_code == HTTP_OK) { |
|
|
|
if (http_code == HTTP_OK) { |
|
|
|
printf("%s\n", "OK"); |
|
|
|
printf("%s\r\n", "OK"); |
|
|
|
rc = 0; |
|
|
|
rc = 0; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
rc = 1; |
|
|
|
rc = 1; |
|
|
|