From 951e6b23151d298d9babeec81bc9926c11bdb3b3 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 9 Mar 2024 08:58:43 +0100 Subject: Replaced all xs_dict_iter() with xs_dict_next(). --- http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'http.c') diff --git a/http.c b/http.c index 30b11a0..1b3d590 100644 --- a/http.c +++ b/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 */ -- cgit v1.2.3