summaryrefslogtreecommitdiff
path: root/xs_fcgi.h
diff options
context:
space:
mode:
authorGravatar Louis Brauer2024-05-25 08:05:36 +0000
committerGravatar Louis Brauer2024-05-25 08:05:36 +0000
commit84a767dd0878013194ed7551b5ae6ef715e841a6 (patch)
tree9fb1b2b89e0bfbb4b8bf1e85d840c8653e646bb7 /xs_fcgi.h
parentPrevent some browsers from caching servers basic auth request (diff)
parentBackport from xs (fix regex.h compilation with tcc). (diff)
downloadsnac2-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_fcgi.h b/xs_fcgi.h
index 4727c5c..a1433a2 100644
--- a/xs_fcgi.h
+++ b/xs_fcgi.h
@@ -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)