diff options
| author | 2024-01-04 16:27:07 +0100 | |
|---|---|---|
| committer | 2024-01-04 16:27:07 +0100 | |
| commit | 5e2f4e9902c5ae15bd55da99a28b1de61a6f4293 (patch) | |
| tree | e3c551e5b7b30f0347ed24dec39757f7f9a48edf /activitypub.c | |
| parent | In the people page, followers and following lists are foldable. (diff) | |
| download | snac2-5e2f4e9902c5ae15bd55da99a28b1de61a6f4293.tar.gz snac2-5e2f4e9902c5ae15bd55da99a28b1de61a6f4293.tar.xz snac2-5e2f4e9902c5ae15bd55da99a28b1de61a6f4293.zip | |
dequeue() unlinks the file, even if it's been unable to parse it.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c index 1b98829..b658fbc 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1982,10 +1982,8 @@ int process_user_queue(snac *snac) | |||
| 1982 | while (xs_list_iter(&p, &fn)) { | 1982 | while (xs_list_iter(&p, &fn)) { |
| 1983 | xs *q_item = dequeue(fn); | 1983 | xs *q_item = dequeue(fn); |
| 1984 | 1984 | ||
| 1985 | if (q_item == NULL) { | 1985 | if (q_item == NULL) |
| 1986 | snac_log(snac, xs_fmt("process_user_queue q_item error")); | ||
| 1987 | continue; | 1986 | continue; |
| 1988 | } | ||
| 1989 | 1987 | ||
| 1990 | process_user_queue_item(snac, q_item); | 1988 | process_user_queue_item(snac, q_item); |
| 1991 | cnt++; | 1989 | cnt++; |