From e5167b7b497175261df09a53c58d90395d108eb2 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 19 Sep 2022 23:08:59 +0200 Subject: Renamed xs_splitn() to xs_split_n(). --- xs_curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs_curl.h') diff --git a/xs_curl.h b/xs_curl.h index 01d9311..3c6e3c5 100644 --- a/xs_curl.h +++ b/xs_curl.h @@ -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)); } -- cgit v1.2.3