]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
cleanup
authorTimo Sirainen <tss@iki.fi>
Mon, 10 Nov 2003 18:53:40 +0000 (20:53 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 10 Nov 2003 18:53:40 +0000 (20:53 +0200)
--HG--
branch : HEAD

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

index 0c69beaa14860ec860871744f5c8a74bd07d3659..9bfa30ec8b698d6715240df758e7f29611655770 100644 (file)
@@ -372,8 +372,8 @@ index_messageset_next(struct messageset_context *ctx)
                ctx->expunges++;
        }
 
-       i_assert(!(ctx->expunges->uid1 <= mail->rec->uid &&
-                  ctx->expunges->uid2 >= mail->rec->uid));
+       i_assert(mail->rec->uid < ctx->expunges->uid1 ||
+                mail->rec->uid > ctx->expunges->uid2);
 
        if (!ctx->uidset && mail->client_seq > ctx->num2) {
                /* finished this set - see if there's more */