mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-09-19 18:00:23 +03:00
Replaced all xs_dict_iter() with xs_dict_next().
This commit is contained in:
parent
91bb0615d9
commit
951e6b2315
3
http.c
3
http.c
@ -77,7 +77,8 @@ xs_dict *http_signed_request_raw(const char *keyid, const char *seckey,
|
||||
|
||||
/* transfer the original headers */
|
||||
hdrs = xs_dict_new();
|
||||
while (xs_dict_iter(&headers, &k, &v))
|
||||
int c = 0;
|
||||
while (xs_dict_next(headers, &k, &v, &c))
|
||||
hdrs = xs_dict_append(hdrs, k, v);
|
||||
|
||||
/* add the new headers */
|
||||
|
Loading…
Reference in New Issue
Block a user