aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/thread.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-23 20:25:13 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 20:25:13 -0800
commit94eb9aacd40a8aa133f64bbe5ed71c0138fb5ed9 (patch)
tree54ca17330d4b930cf76c1025be854a7512c1dd50 /lib/thread.cc
parentba3554b8045e16ae883d559b7e575e8aca00f6d2 (diff)
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.
Diffstat (limited to 'lib/thread.cc')
-rw-r--r--lib/thread.cc4
1 files changed, 2 insertions, 2 deletions
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))
{