From 94eb9aacd40a8aa133f64bbe5ed71c0138fb5ed9 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 23 Nov 2009 20:25:13 -0800 Subject: lib/query: Drop the first and max_messages arguments from search_messages. These only existed to support the chunky-searching hack, but that was recently dropped anyway. --- lib/thread.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/thread.cc') diff --git a/lib/thread.cc b/lib/thread.cc index 267f4dba..58d88c2d 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -260,7 +260,7 @@ _notmuch_thread_create (void *ctx, notmuch_query_set_sort (thread_id_query, NOTMUCH_SORT_OLDEST_FIRST); - for (messages = notmuch_query_search_messages (thread_id_query, 0, -1); + for (messages = notmuch_query_search_messages (thread_id_query); notmuch_messages_has_more (messages); notmuch_messages_advance (messages)) { @@ -271,7 +271,7 @@ _notmuch_thread_create (void *ctx, notmuch_query_destroy (thread_id_query); - for (messages = notmuch_query_search_messages (matched_query, 0, -1); + for (messages = notmuch_query_search_messages (matched_query); notmuch_messages_has_more (messages); notmuch_messages_advance (messages)) { -- cgit v1.2.3