dovecot-2.2: imap: Removed unnecessary code.

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 3 03:21:08 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/ab2abb987619
changeset: 15178:ab2abb987619
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 03 03:19:20 2012 +0300
description:
imap: Removed unnecessary code.

diffstat:

 src/imap/cmd-expunge.c |  1 -
 src/imap/imap-client.h |  1 -
 src/imap/imap-sync.c   |  1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 99843f74422a -r ab2abb987619 src/imap/cmd-expunge.c
--- a/src/imap/cmd-expunge.c	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/cmd-expunge.c	Wed Oct 03 03:19:20 2012 +0300
@@ -37,7 +37,6 @@
 	}
 
 	client->sync_seen_deletes = FALSE;
-	client->sync_seen_expunges = FALSE;
 	if ((client->enabled_features & MAILBOX_FEATURE_QRESYNC) != 0) {
 		return cmd_sync(cmd, MAILBOX_SYNC_FLAG_EXPUNGE,
 				IMAP_SYNC_FLAG_SAFE, "OK Expunge completed.");
diff -r 99843f74422a -r ab2abb987619 src/imap/imap-client.h
--- a/src/imap/imap-client.h	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/imap-client.h	Wed Oct 03 03:19:20 2012 +0300
@@ -150,7 +150,6 @@
 	/* syncing marks this TRUE when it sees \Deleted flags. this is by
 	   EXPUNGE for Outlook-workaround. */
 	unsigned int sync_seen_deletes:1;
-	unsigned int sync_seen_expunges:1;
 	unsigned int disconnected:1;
 	unsigned int destroyed:1;
 	unsigned int handling_input:1;
diff -r 99843f74422a -r ab2abb987619 src/imap/imap-sync.c
--- a/src/imap/imap-sync.c	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/imap-sync.c	Wed Oct 03 03:19:20 2012 +0300
@@ -574,7 +574,6 @@
 			}
 			break;
 		case MAILBOX_SYNC_TYPE_EXPUNGE:
-			ctx->client->sync_seen_expunges = TRUE;
 			ret = imap_sync_send_expunges(ctx, str);
 			if (ret > 0) {
 				/* update only after we're finished, so that


More information about the dovecot-cvs mailing list