diff options
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) | |||
| 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? */ |