summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2022-12-21 09:25:43 +0000
committergrunfink <grunfink@noreply.codeberg.org>2022-12-21 09:25:43 +0000
commit9b3ede892be3f807cc40ef92a8124bcac565b940 (patch)
tree2d0178d1da8bea08a747cdae2f57611db7fc715b
parent61bdccb8ccbe368c707492bb888c6aeb7856e793 (diff)
parent75d0b1a93260839052a5ed5ad4e64c9e3e420c63 (diff)
Merge pull request 'Fix 500 errors in (OpenBSD) relayd.' (#26) from alderwick/snac2:relayd-compat into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/26
-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;