Fix 500 errors in (OpenBSD) relayd.

This commit is contained in:
Andrew Alderwick 2022-12-20 21:16:51 +00:00
parent 61bdccb8cc
commit 75d0b1a932

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;