X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-dump.c;h=ea326bb672efb89a27ab33c62235c5a7f51ea008;hb=0a7bd1c728390efc5cc000987f6dd42638314328;hp=fc06f3f9a5625581432a4d3956b6cdcc8da411ec;hpb=637f99d8f3f45867d0a856503f9f302333824c07;p=notmuch diff --git a/notmuch-dump.c b/notmuch-dump.c index fc06f3f9..ea326bb6 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -58,7 +58,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[]) output = stdout; } - for (messages = notmuch_query_search_messages (query, 0, -1); + for (messages = notmuch_query_search_messages (query); notmuch_messages_has_more (messages); notmuch_messages_advance (messages)) {