]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: Removed unnecessary code.
authorTimo Sirainen <tss@iki.fi>
Wed, 3 Oct 2012 00:19:20 +0000 (03:19 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 3 Oct 2012 00:19:20 +0000 (03:19 +0300)
src/imap/cmd-expunge.c
src/imap/imap-client.h
src/imap/imap-sync.c

index bd556030ae7df86e9f5bfa6933b0186f28052d6f..222fc073cade1cc61dc9f6bbe514b8ca77fe8e55 100644 (file)
@@ -37,7 +37,6 @@ cmd_expunge_finish(struct client_command_context *cmd,
        }
 
        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.");
index d96742f36ef892fa9fbe07c068c01eb293036028..fab8ec4764345288d94a13c61ae1c15199265fdb 100644 (file)
@@ -150,7 +150,6 @@ struct client {
        /* 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;
index 5c1249e1d1e7be93f62975ca13af7280c6116757..5b5b44727815e1d90df416eb99fc89570ef9aab4 100644 (file)
@@ -574,7 +574,6 @@ int imap_sync_more(struct imap_sync_context *ctx)
                        }
                        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