From 1ac922796bdd108ec52f877a97b962ea5e84c51a Mon Sep 17 00:00:00 2001 From: grunfink Date: Tue, 21 Oct 2025 13:57:43 +0200 Subject: Minor tweak to Stefano's code. --- 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 0f03599..9be51e6 100644 --- a/xs_httpd.h +++ b/xs_httpd.h @@ -109,7 +109,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size) body = xs_append_m(body, chunk, chunk_size); /* read trailing \r\n after chunk data */ - xs_readline(f); + xs *dummy = xs_readline(f); } *p_size = xs_size(body) - 1; /* subtract trailing null */ -- cgit v1.2.3