From 9568ec8bfede731d2ecdc5840e3a8a125fc31510 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Sun, 28 Jan 2024 21:04:11 +0000 Subject: cleanup --- mastoapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index 6ed3835..8a48198 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -1414,6 +1414,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, const char *type = xs_dict_get(msg, "type"); if (!xs_match(type, "Note|Question|Page|Article")) continue; + const char *from = NULL; if (strcmp(type, "Page") == 0) from = xs_dict_get(msg, "audience"); -- cgit v1.2.3