From 0cd78e7795e27ef206d1f85f9be2cf32d6419a8e Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Wed, 26 Jan 2022 03:15:25 +0000 Subject: [PATCH] Fix for mastodont api FossilOrigin-Name: cd9b5b0693f63fd32c13354431af76d0f010e92390b8f6162635d574aaf7f5b9 --- src/index.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.c b/src/index.c index 542127a..c44743e 100644 --- a/src/index.c +++ b/src/index.c @@ -26,6 +26,7 @@ void content_index(mastodont_t* api) { struct mstdnt_status* statuses; - mastodont_timeline_public(api, NULL, &statuses); + struct mstdnt_storage storage; + mastodont_timeline_public(api, NULL, &storage, &statuses); printf(data_index_html, config_canonical_name); }