From 75d0b1a93260839052a5ed5ad4e64c9e3e420c63 Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Tue, 20 Dec 2022 21:16:51 +0000 Subject: [PATCH] Fix 500 errors in (OpenBSD) relayd. --- xs_httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;