snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 2bfbe6215f849c1b8af3df88d33e34dcc572844c
parent c5bdd89f69a936c0c9a5766ebbca2f6e966b8652
Author: default <nobody@localhost>
Date:   Thu,  6 Feb 2025 10:48:15 +0100

Fixed bug in xs_httpd_request().

Diffstat:
Mxs_httpd.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xs_httpd.h b/xs_httpd.h @@ -71,7 +71,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size) *cnt++ = '\0'; cnt += strspn(cnt, " \r\n\t\v\f"); - xs_rstrip_chars_i(l, " \r\n\t\v\f"); + l = xs_rstrip_chars_i(l, " \r\n\t\v\f"); if (!xs_is_string(cnt)) continue;