aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-10-13 13:07:06 +0200
committergrunfink <grunfink@comam.es>2025-10-13 13:07:06 +0200
commit212284c792c86fca52e0172a4d097abc5bb45252 (patch)
tree4fe9ebc3859eec9edb46388a606cb6d54898c64a /httpd.c
parent4f0b97ecf6ee157c56aa4fba781a8b6b5ea36174 (diff)
xs_http.h: new file.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c3
1 files changed, 2 insertions, 1 deletions
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);