commit 75d0b1a

Andrew Alderwick  ·  2022-12-20 21:16:51 +0000 UTC
parent 61bdccb
Fix 500 errors in (OpenBSD) relayd.
1 files changed,  +1, -1
+1, -1
1@@ -264,7 +264,7 @@ void xs_httpd_response(FILE *f, int status, d_char *headers, char *body, int b_s
2     xs *proto;
3     char *p, *k, *v;
4 
5-    proto = xs_fmt("HTTP/1.1 %d", status);
6+    proto = xs_fmt("HTTP/1.1 %d ", status);
7     fprintf(f, "%s\r\n", proto);
8 
9     p = headers;