Pārlūkot izejas kodu

Fix 500 errors in (OpenBSD) relayd.

Andrew Alderwick 2 gadi atpakaļ
vecāks
revīzija
75d0b1a932
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      xs_httpd.h

+ 1 - 1
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;