summaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
authorGravatar default2022-09-28 09:29:09 +0200
committerGravatar default2022-09-28 09:29:09 +0200
commita636cf8b25d72900892b18191e0d68de10779e90 (patch)
treedd2fa86101259a499713d810db7d360d25f27aa3 /xs_httpd.h
parentDelete dangling local timeline entry in timeline_admire(). (diff)
downloadpenes-snac2-a636cf8b25d72900892b18191e0d68de10779e90.tar.gz
penes-snac2-a636cf8b25d72900892b18191e0d68de10779e90.tar.xz
penes-snac2-a636cf8b25d72900892b18191e0d68de10779e90.zip
New function static_get().
Diffstat (limited to '')
-rw-r--r--xs_httpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_httpd.h b/xs_httpd.h
index 0842e15..68f60c4 100644
--- a/xs_httpd.h
+++ b/xs_httpd.h
@@ -128,7 +128,7 @@ d_char *xs_httpd_request(FILE *f, d_char **payload, int *p_size)
128 if ((v = xs_dict_get(req, "content-length")) != NULL) { 128 if ((v = xs_dict_get(req, "content-length")) != NULL) {
129 /* if it has a payload, load it */ 129 /* if it has a payload, load it */
130 *p_size = atoi(v); 130 *p_size = atoi(v);
131 *payload = xs_read(f, *p_size); 131 *payload = xs_read(f, p_size);
132 } 132 }
133 133
134 /* is the payload form urlencoded variables? */ 134 /* is the payload form urlencoded variables? */