summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index f754ee0..1976012 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1221,7 +1221,8 @@ xs_dict *msg_actor(snac *snac)
xs_str *k;
xs_str *v;
- while (xs_dict_iter(&metadata, &k, &v)) {
+ int c = 0;
+ while (xs_dict_next(metadata, &k, &v, &c)) {
xs *d = xs_dict_new();
xs *k2 = encode_html(k);