diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
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) | |||
| 1221 | xs_str *k; | 1221 | xs_str *k; |
| 1222 | xs_str *v; | 1222 | xs_str *v; |
| 1223 | 1223 | ||
| 1224 | while (xs_dict_iter(&metadata, &k, &v)) { | 1224 | int c = 0; |
| 1225 | while (xs_dict_next(metadata, &k, &v, &c)) { | ||
| 1225 | xs *d = xs_dict_new(); | 1226 | xs *d = xs_dict_new(); |
| 1226 | 1227 | ||
| 1227 | xs *k2 = encode_html(k); | 1228 | xs *k2 = encode_html(k); |