diff options
| author | 2022-12-20 21:16:51 +0000 | |
|---|---|---|
| committer | 2022-12-20 21:16:51 +0000 | |
| commit | 75d0b1a93260839052a5ed5ad4e64c9e3e420c63 (patch) | |
| tree | 2d0178d1da8bea08a747cdae2f57611db7fc715b /xs_httpd.h | |
| parent | Version 2.16 RELEASED. (diff) | |
| download | penes-snac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.tar.gz penes-snac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.tar.xz penes-snac2-75d0b1a93260839052a5ed5ad4e64c9e3e420c63.zip | |
Fix 500 errors in (OpenBSD) relayd.
Diffstat (limited to 'xs_httpd.h')
| -rw-r--r-- | xs_httpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -264,7 +264,7 @@ void xs_httpd_response(FILE *f, int status, d_char *headers, char *body, int b_s | |||
| 264 | xs *proto; | 264 | xs *proto; |
| 265 | char *p, *k, *v; | 265 | char *p, *k, *v; |
| 266 | 266 | ||
| 267 | proto = xs_fmt("HTTP/1.1 %d", status); | 267 | proto = xs_fmt("HTTP/1.1 %d ", status); |
| 268 | fprintf(f, "%s\r\n", proto); | 268 | fprintf(f, "%s\r\n", proto); |
| 269 | 269 | ||
| 270 | p = headers; | 270 | p = headers; |