X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=65bd356403e210c76b000a6aa6b632d298f81d78;hp=cd81e769aee7b3d6d30b41ff777a3954644f45a0;hb=3493ea0ed5bd20b961aafa01eeddaf8cbc49b52f;hpb=1e75f5f3a7c0090e706794a3b9d4c03b9e0b8a21 diff --git a/notmuch-reply.c b/notmuch-reply.c index cd81e769..65bd3564 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -234,7 +234,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) return 1; } - 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)) {