summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
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)
1074 1074
1075 msg = xs_dict_append(msg, "attributedTo", snac->actor); 1075 msg = xs_dict_append(msg, "attributedTo", snac->actor);
1076 msg = xs_dict_append(msg, "orderedItems", ol); 1076 msg = xs_dict_append(msg, "orderedItems", ol);
1077 msg = xs_dict_append(msg, "totalItems", xs_stock_0); 1077 msg = xs_dict_append(msg, "totalItems", xs_stock(0));
1078 1078
1079 return msg; 1079 return msg;
1080} 1080}
@@ -1610,7 +1610,7 @@ int update_question(snac *user, const char *id)
1610 const char *name = xs_dict_get(v, "name"); 1610 const char *name = xs_dict_get(v, "name");
1611 if (name) { 1611 if (name) {
1612 lopts = xs_list_append(lopts, name); 1612 lopts = xs_list_append(lopts, name);
1613 rcnt = xs_dict_set(rcnt, name, xs_stock_0); 1613 rcnt = xs_dict_set(rcnt, name, xs_stock(0));
1614 } 1614 }
1615 } 1615 }
1616 1616