summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-10 11:29:18 +0200
committerdefault <nobody@localhost>2024-05-10 11:29:18 +0200
commit1531e81a310311656d06c9ee0d31da31493e6de2 (patch)
tree5634b165d076c520e00a06714c1e2ef45a23665c /mastoapi.c
parent2b27a0d772cd294cfe1db67bbfdb2b58df585130 (diff)
Added a skip argument to content_search().
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index cbc965c..1071bfd 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -2261,7 +2261,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
if (xs_is_null(type) || strcmp(type, "statuses") == 0) {
int to = 0;
int cnt = 40;
- xs *tl = content_search(&snac1, q, 1, 0, cnt, &to);
+ xs *tl = content_search(&snac1, q, 1, 0, cnt, 0, &to);
int c = 0;
char *v;