summaryrefslogtreecommitdiff
path: root/xs_fcgi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xs_fcgi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xs_fcgi.h b/xs_fcgi.h
index a1433a2..0dbd895 100644
--- a/xs_fcgi.h
+++ b/xs_fcgi.h
@@ -306,8 +306,7 @@ void xs_fcgi_response(FILE *f, int status, xs_dict *headers, xs_str *body, int b
306 out = xs_str_cat(out, s1); 306 out = xs_str_cat(out, s1);
307 } 307 }
308 308
309 int c = 0; 309 xs_dict_foreach(headers, k, v) {
310 while (xs_dict_next(headers, &k, &v, &c)) {
311 xs *s1 = xs_fmt("%s: %s\r\n", k, v); 310 xs *s1 = xs_fmt("%s: %s\r\n", k, v);
312 out = xs_str_cat(out, s1); 311 out = xs_str_cat(out, s1);
313 } 312 }