]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
"SEARCH DELETED" didn't return anything if all messages were deleted.
authorTimo Sirainen <tss@iki.fi>
Sat, 14 Jun 2003 17:43:26 +0000 (20:43 +0300)
committerTimo Sirainen <tss@iki.fi>
Sat, 14 Jun 2003 17:43:26 +0000 (20:43 +0300)
--HG--
branch : HEAD

src/lib-storage/index/index-search.c

index 7fa7e80567fd7ce603d29e27b980e83e4465aaba..b44fc8f34869962e2746c30b628d601320cbbd42 100644 (file)
@@ -806,7 +806,7 @@ static int search_limit_by_flags(struct index_mailbox *ibox,
                                return FALSE;
 
                        /* UNDELETED with all deleted? */
-                       if (!args->not &&
+                       if (args->not &&
                            hdr->deleted_messages_count == hdr->messages_count)
                                return FALSE;