]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Removed commented out code.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 14 Dec 2015 10:36:23 +0000 (12:36 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 14 Dec 2015 10:36:23 +0000 (12:36 +0200)
It was probably accidentally committed debug code.

src/lib-storage/index/imapc/imapc-mailbox.c

index 8b7658e9718d3e911bd83149fa399759edc3c537..a0323aef29e25b3032cfceda3ca4cfdde18409fa 100644 (file)
@@ -317,17 +317,12 @@ static void imapc_untagged_fetch(const struct imapc_untagged_reply *reply,
                           IMAPC_BOX_HAS_FEATURE(mbox, IMAPC_FEATURE_GMAIL_MIGRATION)) {
                        if (!imap_arg_get_list(&list[i+1], &flags_list))
                                return;
-#if 0
-                       if (flags_list[0].type != IMAP_ARG_EOL)
-                               have_labels = TRUE;
-#else
                        for (j = 0; flags_list[j].type != IMAP_ARG_EOL; j++) {
                                if (!imap_arg_get_astring(&flags_list[j], &atom))
                                        return;
                                if (strcasecmp(atom, "\\Muted") != 0)
                                        have_labels = TRUE;
                        }
-#endif
                }
        }