From 2547b84af5116e18b32a6e4bde2d5504591972c6 Mon Sep 17 00:00:00 2001 From: nekobit Date: Mon, 16 May 2022 15:36:46 +0000 Subject: [PATCH] Fix attachments FossilOrigin-Name: c01721fe46ca147e9f8c13a89470a19c7e4a018e7af593b7a6f9e256f22cff89 --- src/attachment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attachment.c b/src/attachment.c index ef7817e..e2601f8 100644 --- a/src/attachment.c +++ b/src/attachment.c @@ -68,7 +68,7 @@ void _mstdnt_val_attachments_call(cJSON* v, void* _type) int i; for (it = v_array, i = 0; it; (++i, it = it->next)) { - mstdnt_attachment_json(it->child, (*attachments) + i); + mstdnt_attachment_json(it, (*attachments) + i); } }