aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;