diff options
| author | 2022-10-05 12:08:17 +0200 | |
|---|---|---|
| committer | 2022-10-05 12:08:17 +0200 | |
| commit | 3e2cfa48d9e8881cbb3c1934eb33d5c419a76211 (patch) | |
| tree | 44250c4866a38276887d11b7722f215a49fbb40b /xs_curl.h | |
| parent | Updated documentation. (diff) | |
| download | penes-snac2-3e2cfa48d9e8881cbb3c1934eb33d5c419a76211.tar.gz penes-snac2-3e2cfa48d9e8881cbb3c1934eb33d5c419a76211.tar.xz penes-snac2-3e2cfa48d9e8881cbb3c1934eb33d5c419a76211.zip | |
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, | |||
| 29 | 29 | ||
| 30 | xs_tolower(xs_list_get(knv, 0)); | 30 | xs_tolower(xs_list_get(knv, 0)); |
| 31 | 31 | ||
| 32 | headers = xs_dict_append(headers, xs_list_get(knv, 0), xs_list_get(knv, 1)); | 32 | headers = xs_dict_set(headers, xs_list_get(knv, 0), xs_list_get(knv, 1)); |
| 33 | } | 33 | } |
| 34 | else | 34 | else |
| 35 | if (xs_startswith(l, "HTTP/")) | 35 | if (xs_startswith(l, "HTTP/")) |
| 36 | headers = xs_dict_append(headers, "_proto", l); | 36 | headers = xs_dict_set(headers, "_proto", l); |
| 37 | 37 | ||
| 38 | *userdata = headers; | 38 | *userdata = headers; |
| 39 | 39 | ||