summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 041f37e..d38e902 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1174,7 +1174,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
1174 /* NOTE: idk when there are no actor, but i encountered that bug. 1174 /* NOTE: idk when there are no actor, but i encountered that bug.
1175 * Probably because of one of my previous attempts. 1175 * Probably because of one of my previous attempts.
1176 * Keeping this just in case, can remove later */ 1176 * Keeping this just in case, can remove later */
1177 const char *me = actor && strcmp(actor, snac->actor) == 0 ? 1177 const char *me = actor && snac && strcmp(actor, snac->actor) == 0 ?
1178 xs_stock(XSTYPE_TRUE) : xs_stock(XSTYPE_FALSE); 1178 xs_stock(XSTYPE_TRUE) : xs_stock(XSTYPE_FALSE);
1179 int count = 1; 1179 int count = 1;
1180 1180