diff options
Diffstat (limited to '')
-rw-r--r-- | concat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/concat.c b/concat.c index 2b1c619..800a7a2 100644 --- a/concat.c +++ b/concat.c @@ -264,7 +264,8 @@ static int sortCompare(const void *_a, const void *_b) { size_t concatSearchEntries = 20; void concatSearch( - const char *name, struct List threads, const struct Envelope *envelopes + const char *name, struct List threads, const struct Envelope *envelopes, + char *searches[const], size_t len ) { char *path = searchPath(name, "atom"); FILE *file = fopen(path, "w"); @@ -316,7 +317,7 @@ void concatSearch( if (error) err(EX_IOERR, "%s", path); } - error = htmlSearchOpen(file, name); + error = htmlSearchOpen(file, name, searches, len); if (error) err(EX_IOERR, "%s", path); for (size_t i = threads.len - 1; i < threads.len; --i) { |