diff options
| author | 2024-05-10 11:29:18 +0200 | |
|---|---|---|
| committer | 2024-05-10 11:29:18 +0200 | |
| commit | 1531e81a310311656d06c9ee0d31da31493e6de2 (patch) | |
| tree | 5634b165d076c520e00a06714c1e2ef45a23665c /mastoapi.c | |
| parent | Some tweaks to web ui search. (diff) | |
| download | penes-snac2-1531e81a310311656d06c9ee0d31da31493e6de2.tar.gz penes-snac2-1531e81a310311656d06c9ee0d31da31493e6de2.tar.xz penes-snac2-1531e81a310311656d06c9ee0d31da31493e6de2.zip | |
Added a skip argument to content_search().
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2261,7 +2261,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 2261 | if (xs_is_null(type) || strcmp(type, "statuses") == 0) { | 2261 | if (xs_is_null(type) || strcmp(type, "statuses") == 0) { |
| 2262 | int to = 0; | 2262 | int to = 0; |
| 2263 | int cnt = 40; | 2263 | int cnt = 40; |
| 2264 | xs *tl = content_search(&snac1, q, 1, 0, cnt, &to); | 2264 | xs *tl = content_search(&snac1, q, 1, 0, cnt, 0, &to); |
| 2265 | int c = 0; | 2265 | int c = 0; |
| 2266 | char *v; | 2266 | char *v; |
| 2267 | 2267 | ||