summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-07 13:09:19 +0200
committerdefault <nobody@localhost>2023-06-07 13:09:19 +0200
commitb77ef13d2cb9894a7b7814d47405b2c34b9f70f9 (patch)
treeee7d4aaf091ac22fa99b455336003998e6dbb149 /main.c
parentecde1c219e583d45e5ef46dcdd82c24b888fef1b (diff)
Don't enqueue a request_replies message if it's already there.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e8309c4..e2de58e 100644
--- a/main.c
+++ b/main.c
@@ -279,8 +279,8 @@ int main(int argc, char *argv[])
status = activitypub_request(&snac, url, &data);
printf("status: %d\n", status);
- if (valid_status(status)) {
+ if (data != NULL) {
xs *j = xs_json_dumps_pp(data, 4);
printf("%s\n", j);
}