aboutsummaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-06 10:48:15 +0100
committerdefault <nobody@localhost>2025-02-06 10:48:22 +0100
commit2bfbe6215f849c1b8af3df88d33e34dcc572844c (patch)
tree3d5747d75b60cf85c50b942aaf4c589cfc974727 /xs_httpd.h
parentc5bdd89f69a936c0c9a5766ebbca2f6e966b8652 (diff)
Fixed bug in xs_httpd_request().
Diffstat (limited to 'xs_httpd.h')
-rw-r--r--xs_httpd.h2
1 files changed, 1 insertions, 1 deletions
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;