diff options
author | default <nobody@localhost> | 2022-09-28 09:29:09 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-28 09:29:09 +0200 |
commit | a636cf8b25d72900892b18191e0d68de10779e90 (patch) | |
tree | dd2fa86101259a499713d810db7d360d25f27aa3 /xs_httpd.h | |
parent | 1d19464a48a7950421a4aff49034bde6fe4f4fa3 (diff) |
New function static_get().
Diffstat (limited to 'xs_httpd.h')
-rw-r--r-- | xs_httpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ d_char *xs_httpd_request(FILE *f, d_char **payload, int *p_size) if ((v = xs_dict_get(req, "content-length")) != NULL) { /* if it has a payload, load it */ *p_size = atoi(v); - *payload = xs_read(f, *p_size); + *payload = xs_read(f, p_size); } /* is the payload form urlencoded variables? */ |