commit 2bfbe62

default  ·  2025-02-06 09:48:15 +0000 UTC
parent c5bdd89
Fixed bug in xs_httpd_request().
1 files changed,  +1, -1
+1, -1
1@@ -71,7 +71,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size)
2 
3         *cnt++ = '\0';
4         cnt += strspn(cnt, " \r\n\t\v\f");
5-        xs_rstrip_chars_i(l, " \r\n\t\v\f");
6+        l = xs_rstrip_chars_i(l, " \r\n\t\v\f");
7 
8         if (!xs_is_string(cnt))
9             continue;