diff options
Diffstat (limited to 'xs_httpd.h')
| -rw-r--r-- | xs_httpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -109,7 +109,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size) | |||
| 109 | body = xs_append_m(body, chunk, chunk_size); | 109 | body = xs_append_m(body, chunk, chunk_size); |
| 110 | 110 | ||
| 111 | /* read trailing \r\n after chunk data */ | 111 | /* read trailing \r\n after chunk data */ |
| 112 | xs_readline(f); | 112 | xs *dummy = xs_readline(f); |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | *p_size = xs_size(body) - 1; /* subtract trailing null */ | 115 | *p_size = xs_size(body) - 1; /* subtract trailing null */ |