diff options
author | default <nobody@localhost> | 2024-08-05 18:39:15 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-08-05 18:39:15 +0200 |
commit | 88fc843d3e9c31d50afbf1554344df05314931d3 (patch) | |
tree | 93adbc1b8a9b4388a79cb88a021f05461c88ec05 /xs_url.h | |
parent | b8566646633724af84e9a5b9fd1386c9e17b1c3c (diff) |
Use xs_between() where applicable.
Diffstat (limited to 'xs_url.h')
-rw-r--r-- | xs_url.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ xs_dict *xs_multipart_form_data(const char *payload, int p_size, const char *hea boundary = xs_dup(xs_list_get(l1, 1)); /* Tokodon sends the boundary header with double quotes surrounded */ - if (xs_starts_and_ends("\"", boundary, "\"") != 0) + if (xs_between("\"", boundary, "\"") != 0) boundary = xs_strip_chars_i(boundary, "\""); boundary = xs_fmt("--%s", boundary); |