summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-27 18:01:51 +0200
committerdefault <nobody@localhost>2022-09-27 18:01:51 +0200
commitf1dbd8e70092fac0b202a98a10a832851cdd7f14 (patch)
tree2cf8137bc291b81e3d5771ad953abde1da38b463 /httpd.c
parent5784ddecb493802846695d8044d78448409de340 (diff)
New variable USER_AGENT.
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)
ctype = "text/html; charset=utf-8";
headers = xs_dict_append(headers, "content-type", ctype);
- headers = xs_dict_append(headers, "x-creator", "snac/2.x");
+ headers = xs_dict_append(headers, "x-creator", USER_AGENT);
if (b_size == 0 && body != NULL)
b_size = strlen(body);