diff options
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -6,6 +6,7 @@ | |||
| 6 | #include "xs_json.h" | 6 | #include "xs_json.h" |
| 7 | #include "xs_socket.h" | 7 | #include "xs_socket.h" |
| 8 | #include "xs_unix_socket.h" | 8 | #include "xs_unix_socket.h" |
| 9 | #include "xs_http.h" | ||
| 9 | #include "xs_httpd.h" | 10 | #include "xs_httpd.h" |
| 10 | #include "xs_mime.h" | 11 | #include "xs_mime.h" |
| 11 | #include "xs_time.h" | 12 | #include "xs_time.h" |
| @@ -650,7 +651,7 @@ void httpd_connection(FILE *f) | |||
| 650 | if (p_state->use_fcgi) | 651 | if (p_state->use_fcgi) |
| 651 | xs_fcgi_response(f, status, headers, body, b_size, fcgi_id); | 652 | xs_fcgi_response(f, status, headers, body, b_size, fcgi_id); |
| 652 | else | 653 | else |
| 653 | xs_httpd_response(f, status, http_status_text(status), headers, body, b_size); | 654 | xs_httpd_response(f, status, xs_http_status_text(status), headers, body, b_size); |
| 654 | 655 | ||
| 655 | fclose(f); | 656 | fclose(f); |
| 656 | 657 | ||