diff options
| author | 2025-02-06 10:48:15 +0100 | |
|---|---|---|
| committer | 2025-02-06 10:48:22 +0100 | |
| commit | 2bfbe6215f849c1b8af3df88d33e34dcc572844c (patch) | |
| tree | 3d5747d75b60cf85c50b942aaf4c589cfc974727 /xs_httpd.h | |
| parent | Merge pull request 'Rewrite http header parsing' (#298) from inz/snac2:http-h... (diff) | |
| download | snac2-2bfbe6215f849c1b8af3df88d33e34dcc572844c.tar.gz snac2-2bfbe6215f849c1b8af3df88d33e34dcc572844c.tar.xz snac2-2bfbe6215f849c1b8af3df88d33e34dcc572844c.zip | |
Fixed bug in xs_httpd_request().
Diffstat (limited to 'xs_httpd.h')
| -rw-r--r-- | xs_httpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -71,7 +71,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size) | |||
| 71 | 71 | ||
| 72 | *cnt++ = '\0'; | 72 | *cnt++ = '\0'; |
| 73 | cnt += strspn(cnt, " \r\n\t\v\f"); | 73 | cnt += strspn(cnt, " \r\n\t\v\f"); |
| 74 | xs_rstrip_chars_i(l, " \r\n\t\v\f"); | 74 | l = xs_rstrip_chars_i(l, " \r\n\t\v\f"); |
| 75 | 75 | ||
| 76 | if (!xs_is_string(cnt)) | 76 | if (!xs_is_string(cnt)) |
| 77 | continue; | 77 | continue; |