summaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_httpd.h')
-rw-r--r--xs_httpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_httpd.h b/xs_httpd.h
index 60933c8..4195b81 100644
--- a/xs_httpd.h
+++ b/xs_httpd.h
@@ -99,8 +99,8 @@ void xs_httpd_response(FILE *f, int status, xs_dict *headers, xs_str *body, int
/* sends an httpd response */
{
xs *proto;
- xs_str *k;
- xs_val *v;
+ const xs_str *k;
+ const xs_val *v;
proto = xs_fmt("HTTP/1.1 %d %s", status, status / 100 == 2 ? "OK" : "ERROR");
fprintf(f, "%s\r\n", proto);