From 8ee07faf5085d983029a9734973899049f5b5a8e Mon Sep 17 00:00:00 2001 From: nekobit Date: Sat, 11 Jun 2022 05:55:31 +0000 Subject: [PATCH] Set limit FossilOrigin-Name: 602912385e87b67036d4d9fca8766410bad0a803441c65e4e6bbbcc282a0da33 --- src/account.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/account.c b/src/account.c index 9a475b7..e396acd 100644 --- a/src/account.c +++ b/src/account.c @@ -94,7 +94,7 @@ static char* account_followers_cb(struct session* ssn, .since_id = NULL, .min_id = keystr(ssn->post.min_id), .offset = 0, - .limit = 0, + .limit = 20, .with_relationships = 0, }; char* accounts_html = NULL, *navigation_box = NULL; @@ -174,6 +174,7 @@ static char* account_following_cb(struct session* ssn, NULL); } easprintf(&output, "%s%s", + STR_NULL_EMPTY(navigation_box), STR_NULL_EMPTY(accounts_html), STR_NULL_EMPTY(navigation_box));