diff options
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[]) | |||
| 377 | 377 | ||
| 378 | if (strcmp(cmd, "search") == 0) { /** **/ | 378 | if (strcmp(cmd, "search") == 0) { /** **/ |
| 379 | xs *tl = timeline_simple_list(&snac, "private", 0, XS_ALL); | 379 | xs *tl = timeline_simple_list(&snac, "private", 0, XS_ALL); |
| 380 | int to; | ||
| 380 | 381 | ||
| 381 | /* 'url' contains the regex */ | 382 | /* 'url' contains the regex */ |
| 382 | xs *r = search_by_content(&snac, tl, url, 10); | 383 | xs *r = search_by_content(&snac, tl, url, 10, &to); |
| 383 | 384 | ||
| 384 | int c = 0; | 385 | int c = 0; |
| 385 | char *v; | 386 | char *v; |