From 212284c792c86fca52e0172a4d097abc5bb45252 Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 13 Oct 2025 13:07:06 +0200 Subject: xs_http.h: new file. --- httpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index de76776..254d0e5 100644 --- a/httpd.c +++ b/httpd.c @@ -6,6 +6,7 @@ #include "xs_json.h" #include "xs_socket.h" #include "xs_unix_socket.h" +#include "xs_http.h" #include "xs_httpd.h" #include "xs_mime.h" #include "xs_time.h" @@ -650,7 +651,7 @@ void httpd_connection(FILE *f) if (p_state->use_fcgi) xs_fcgi_response(f, status, headers, body, b_size, fcgi_id); else - xs_httpd_response(f, status, http_status_text(status), headers, body, b_size); + xs_httpd_response(f, status, xs_http_status_text(status), headers, body, b_size); fclose(f); -- cgit v1.2.3