From fd6f71bfe36331d046e4183c2c133c6f01c9af2d Mon Sep 17 00:00:00 2001 From: default Date: Mon, 26 Sep 2022 11:19:45 +0200 Subject: More work but signatures seem to still fail. --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 8efbc36..eed5ea8 100644 --- a/main.c +++ b/main.c @@ -119,7 +119,9 @@ int main(int argc, char *argv[]) if (strcmp(cmd, "announce") == 0) { xs *msg = msg_admiration(&snac, url, "Announce"); - { + if (msg != NULL) { + post(&snac, msg); + xs *j = xs_json_dumps_pp(msg, 4); printf("%s\n", j); } -- cgit v1.2.3