snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 75d0b1a93260839052a5ed5ad4e64c9e3e420c63
parent 61bdccb8ccbe368c707492bb888c6aeb7856e793
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Tue, 20 Dec 2022 21:16:51 +0000

Fix 500 errors in (OpenBSD) relayd.

Diffstat:
Mxs_httpd.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;