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
This commit is contained in:
grunfink 2022-12-21 09:25:43 +00:00
commit 9b3ede892b

View file

@ -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;