diff src/lib-storage/index/index-search.c @ 6677:90bcf480312d HEAD

Renamed mail_index_lookup_uid_range() to mail_index_lookup_seq_range(), made it return a bool and added mail_index_lookup_seq(). Cleaned up the code to use these functions.
author Timo Sirainen <tss@iki.fi>
date Sat, 03 Nov 2007 21:56:05 +0200
parents ab3a1a8ade55
children 69babcc2fb80
line wrap: on
line diff
--- a/src/lib-storage/index/index-search.c	Sat Nov 03 21:39:33 2007 +0200
+++ b/src/lib-storage/index/index-search.c	Sat Nov 03 21:56:05 2007 +0200
@@ -745,7 +745,7 @@
 	if (uid_lowwater == 0)
 		return;
 
-	mail_index_lookup_uid_range(ctx->view, uid_lowwater, (uint32_t)-1,
+	mail_index_lookup_seq_range(ctx->view, uid_lowwater, (uint32_t)-1,
 				    &seq1, &seq2);
 	if (*first_seq < seq1)
 		*first_seq = seq1;