changeset 5916:d30fa36505fb HEAD

cleanup: s/fname/path/
author Timo Sirainen <tss@iki.fi>
date Sun, 08 Jul 2007 23:04:02 +0300
parents 171c3f89295c
children 525b449313a7
files src/imap/imap-sync.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-sync.c	Sun Jul 08 22:57:51 2007 +0300
+++ b/src/imap/imap-sync.c	Sun Jul 08 23:04:02 2007 +0300
@@ -83,6 +83,8 @@
 					     "Mailbox UIDVALIDITY changed");
 	}
 	if (!ctx->no_newmail) {
+		if (status.messages < ctx->messages_count)
+			i_panic("Message count decreased");
 		ctx->client->messages_count = status.messages;
 		if (status.messages != ctx->messages_count) {
 			client_send_line(ctx->client,