mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +00:00
Fix 500 errors in (OpenBSD) relayd.
This commit is contained in:
parent
61bdccb8cc
commit
75d0b1a932
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ void xs_httpd_response(FILE *f, int status, d_char *headers, char *body, int b_s
|
||||||
xs *proto;
|
xs *proto;
|
||||||
char *p, *k, *v;
|
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);
|
fprintf(f, "%s\r\n", proto);
|
||||||
|
|
||||||
p = headers;
|
p = headers;
|
||||||
|
|
Loading…
Reference in a new issue