changeset 12670:bd780e7bdba6

fs layout: Fixed crash on listing % when namespace had a prefix.
author Timo Sirainen <tss@iki.fi>
date Sat, 19 Feb 2011 16:46:14 +0200
parents ce7b1fa63f2f
children 437e24ac6303
files src/lib-storage/mailbox-list.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c	Sat Feb 19 16:42:45 2011 +0200
+++ b/src/lib-storage/mailbox-list.c	Sat Feb 19 16:46:14 2011 +0200
@@ -366,7 +366,8 @@
 			/* trying to access the namespace prefix itself */
 			storage_name = "";
 		} else {
-			i_assert(strcmp(storage_name, "INBOX") == 0);
+			/* it's either INBOX, or we're converting a nonexistent
+			   mailbox name, such as a LIST pattern. */
 		}
 	}