aboutsummaryrefslogtreecommitdiff
path: root/notmuch-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-dump.c')
-rw-r--r--notmuch-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-dump.c b/notmuch-dump.c
index fc06f3f..ea326bb 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))
{