diff options
author | default <nobody@localhost> | 2022-09-19 23:08:59 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-19 23:08:59 +0200 |
commit | e5167b7b497175261df09a53c58d90395d108eb2 (patch) | |
tree | 70c663ad5bc0646e0fffee7eeeb3ffe57afd11ac /xs_curl.h | |
parent | dd1a5ff1472eeadbfd84eaa1eab55af54179200a (diff) |
Renamed xs_splitn() to xs_split_n().
Diffstat (limited to 'xs_curl.h')
-rw-r--r-- | xs_curl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ static size_t _header_callback(char *buffer, size_t size, /* only the HTTP/x 200 line and the last one doesn't have ': ' */ if (xs_str_in(l, ": ") != -1) { - xs *knv = xs_splitn(l, ": ", 1); + xs *knv = xs_split_n(l, ": ", 1); headers = xs_dict_append(headers, xs_list_get(knv, 0), xs_list_get(knv, 1)); } |