X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-dump.c;h=ea326bb672efb89a27ab33c62235c5a7f51ea008;hp=fc06f3f9a5625581432a4d3956b6cdcc8da411ec;hb=94eb9aacd40a8aa133f64bbe5ed71c0138fb5ed9;hpb=637f99d8f3f45867d0a856503f9f302333824c07 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)) {