diff options
| author | 2024-05-25 08:05:36 +0000 | |
|---|---|---|
| committer | 2024-05-25 08:05:36 +0000 | |
| commit | 84a767dd0878013194ed7551b5ae6ef715e841a6 (patch) | |
| tree | 9fb1b2b89e0bfbb4b8bf1e85d840c8653e646bb7 /xs_fcgi.h | |
| parent | Prevent some browsers from caching servers basic auth request (diff) | |
| parent | Backport from xs (fix regex.h compilation with tcc). (diff) | |
| download | snac2-84a767dd0878013194ed7551b5ae6ef715e841a6.tar.gz snac2-84a767dd0878013194ed7551b5ae6ef715e841a6.tar.xz snac2-84a767dd0878013194ed7551b5ae6ef715e841a6.zip | |
Merge pull request 'master' (#1) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/louis77/snac2/pulls/1
Diffstat (limited to 'xs_fcgi.h')
| -rw-r--r-- | xs_fcgi.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -293,8 +293,8 @@ void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b | |||
| 293 | struct fcgi_record_header hdr = {0}; | 293 | struct fcgi_record_header hdr = {0}; |
| 294 | struct fcgi_end_request ereq = {0}; | 294 | struct fcgi_end_request ereq = {0}; |
| 295 | xs *out = xs_str_new(NULL); | 295 | xs *out = xs_str_new(NULL); |
| 296 | xs_str *k; | 296 | const xs_str *k; |
| 297 | xs_str *v; | 297 | const xs_str *v; |
| 298 | 298 | ||
| 299 | /* no previous id? it's an error */ | 299 | /* no previous id? it's an error */ |
| 300 | if (fcgi_id == -1) | 300 | if (fcgi_id == -1) |