summaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
authorGravatar Andrew Alderwick2022-12-20 21:16:51 +0000
committerGravatar Andrew Alderwick2022-12-20 21:16:51 +0000
commit75d0b1a93260839052a5ed5ad4e64c9e3e420c63 (patch)
tree2d0178d1da8bea08a747cdae2f57611db7fc715b /xs_httpd.h
parentVersion 2.16 RELEASED. (diff)
downloadsnac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.tar.gz
snac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.tar.xz
snac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.zip
Fix 500 errors in (OpenBSD) relayd.
Diffstat (limited to 'xs_httpd.h')
-rw-r--r--xs_httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_httpd.h b/xs_httpd.h
index 4dad72a..9edc638 100644
--- a/xs_httpd.h
+++ b/xs_httpd.h
@@ -264,7 +264,7 @@ void xs_httpd_response(FILE *f, int status, d_char *headers, char *body, int b_s
264 xs *proto; 264 xs *proto;
265 char *p, *k, *v; 265 char *p, *k, *v;
266 266
267 proto = xs_fmt("HTTP/1.1 %d", status); 267 proto = xs_fmt("HTTP/1.1 %d ", status);
268 fprintf(f, "%s\r\n", proto); 268 fprintf(f, "%s\r\n", proto);
269 269
270 p = headers; 270 p = headers;