From a636cf8b25d72900892b18191e0d68de10779e90 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 28 Sep 2022 09:29:09 +0200 Subject: New function static_get(). --- xs_httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs_httpd.h') 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) 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? */ -- cgit v1.2.3