X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=65bd356403e210c76b000a6aa6b632d298f81d78;hp=cd81e769aee7b3d6d30b41ff777a3954644f45a0;hb=94eb9aacd40a8aa133f64bbe5ed71c0138fb5ed9;hpb=ba3554b8045e16ae883d559b7e575e8aca00f6d2 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)) {