diff options
author | default <nobody@localhost> | 2022-10-05 12:08:17 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-05 12:08:17 +0200 |
commit | 3e2cfa48d9e8881cbb3c1934eb33d5c419a76211 (patch) | |
tree | 44250c4866a38276887d11b7722f215a49fbb40b /xs_curl.h | |
parent | cea390bdabd65408baf6e46964ca7aaad5727f49 (diff) |
Alert if _timeline_find_fn() finds more than one file.
Diffstat (limited to 'xs_curl.h')
-rw-r--r-- | xs_curl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,11 +29,11 @@ static size_t _header_callback(char *buffer, size_t size, xs_tolower(xs_list_get(knv, 0)); - headers = xs_dict_append(headers, xs_list_get(knv, 0), xs_list_get(knv, 1)); + headers = xs_dict_set(headers, xs_list_get(knv, 0), xs_list_get(knv, 1)); } else if (xs_startswith(l, "HTTP/")) - headers = xs_dict_append(headers, "_proto", l); + headers = xs_dict_set(headers, "_proto", l); *userdata = headers; |