diff options
author | default <nobody@localhost> | 2024-05-08 10:27:30 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-08 10:27:30 +0200 |
commit | dc74cac6c9c3f6e9edc848381422a1f124abac73 (patch) | |
tree | afa60f85839300e03affa44ed792d79cbe9626cd /main.c | |
parent | 3ab733cdf5a71b9a27399e8336e0c236c13d67fb (diff) |
Added a timeout flag to search_by_content().
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -377,9 +377,10 @@ int main(int argc, char *argv[]) if (strcmp(cmd, "search") == 0) { /** **/ xs *tl = timeline_simple_list(&snac, "private", 0, XS_ALL); + int to; /* 'url' contains the regex */ - xs *r = search_by_content(&snac, tl, url, 10); + xs *r = search_by_content(&snac, tl, url, 10, &to); int c = 0; char *v; |