From 7aa5250eb8c68472e476faf8399e98f2ba9a9c3b Mon Sep 17 00:00:00 2001 From: default Date: Fri, 15 Mar 2024 04:10:11 +0100 Subject: Backport from xs. --- activitypub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index fae0c15..eb1552d 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1074,7 +1074,7 @@ xs_dict *msg_collection(snac *snac, char *id) msg = xs_dict_append(msg, "attributedTo", snac->actor); msg = xs_dict_append(msg, "orderedItems", ol); - msg = xs_dict_append(msg, "totalItems", xs_stock_0); + msg = xs_dict_append(msg, "totalItems", xs_stock(0)); return msg; } @@ -1610,7 +1610,7 @@ int update_question(snac *user, const char *id) const char *name = xs_dict_get(v, "name"); if (name) { lopts = xs_list_append(lopts, name); - rcnt = xs_dict_set(rcnt, name, xs_stock_0); + rcnt = xs_dict_set(rcnt, name, xs_stock(0)); } } -- cgit v1.2.3