changeset 19512:5566fdec2593

imapc: Removed commented out code. It was probably accidentally committed debug code.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 14 Dec 2015 12:36:23 +0200
parents e7c4ee19a36e
children 74850147fc47
files src/lib-storage/index/imapc/imapc-mailbox.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-mailbox.c	Sun Dec 13 21:25:32 2015 +0200
+++ b/src/lib-storage/index/imapc/imapc-mailbox.c	Mon Dec 14 12:36:23 2015 +0200
@@ -317,17 +317,12 @@
 			   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
 		}
 	}