forked from mirrors/treebird
Set limit
FossilOrigin-Name: 602912385e87b67036d4d9fca8766410bad0a803441c65e4e6bbbcc282a0da33
This commit is contained in:
parent
b22d2acf1d
commit
8ee07faf50
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue