summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 5b26122..13591a1 100644
--- a/httpd.c
+++ b/httpd.c
@@ -158,7 +158,7 @@ void httpd_connection(int rs)
158 ctype = "text/html; charset=utf-8"; 158 ctype = "text/html; charset=utf-8";
159 159
160 headers = xs_dict_append(headers, "content-type", ctype); 160 headers = xs_dict_append(headers, "content-type", ctype);
161 headers = xs_dict_append(headers, "x-creator", "snac/2.x"); 161 headers = xs_dict_append(headers, "x-creator", USER_AGENT);
162 162
163 if (b_size == 0 && body != NULL) 163 if (b_size == 0 && body != NULL)
164 b_size = strlen(body); 164 b_size = strlen(body);