summaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
authorAndrew Alderwick <andrew@alderwick.co.uk>2022-12-20 21:16:51 +0000
committerAndrew Alderwick <andrew@alderwick.co.uk>2022-12-20 21:16:51 +0000
commit75d0b1a93260839052a5ed5ad4e64c9e3e420c63 (patch)
tree2d0178d1da8bea08a747cdae2f57611db7fc715b /xs_httpd.h
parent61bdccb8ccbe368c707492bb888c6aeb7856e793 (diff)
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
xs *proto;
char *p, *k, *v;
- proto = xs_fmt("HTTP/1.1 %d", status);
+ proto = xs_fmt("HTTP/1.1 %d ", status);
fprintf(f, "%s\r\n", proto);
p = headers;