diff options
author | default <nobody@localhost> | 2024-03-09 08:58:43 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-03-09 08:58:43 +0100 |
commit | 951e6b23151d298d9babeec81bc9926c11bdb3b3 (patch) | |
tree | f68cc7334f91f7ac8cfa3068798c28e97540952f /http.c | |
parent | 91bb0615d982d1adcc5680c346f9510905464584 (diff) |
Replaced all xs_dict_iter() with xs_dict_next().
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |