From 2bfbe6215f849c1b8af3df88d33e34dcc572844c Mon Sep 17 00:00:00 2001 From: default Date: Thu, 6 Feb 2025 10:48:15 +0100 Subject: Fixed bug in xs_httpd_request(). --- xs_httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs_httpd.h b/xs_httpd.h index 8aec996..4cc8263 100644 --- 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; -- cgit v1.2.3