diff options
author | default <nobody@localhost> | 2023-06-07 13:09:19 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-07 13:09:19 +0200 |
commit | b77ef13d2cb9894a7b7814d47405b2c34b9f70f9 (patch) | |
tree | ee7d4aaf091ac22fa99b455336003998e6dbb149 /main.c | |
parent | ecde1c219e583d45e5ef46dcdd82c24b888fef1b (diff) |
Don't enqueue a request_replies message if it's already there.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |