changeset 1779:a027c8bac567 HEAD

Revert the mailbox/ == mailbox change after all. It broke LIST and it's not important really..
author Timo Sirainen <tss@iki.fi>
date Wed, 17 Sep 2003 03:08:48 +0300
parents 8edd874f53a3
children 7ebd4bb20815
files src/lib-storage/index/maildir/maildir-storage.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-storage.c	Tue Sep 16 00:21:17 2003 +0300
+++ b/src/lib-storage/index/maildir/maildir-storage.c	Wed Sep 17 03:08:48 2003 +0300
@@ -173,12 +173,6 @@
 	char *dup, *p, sep;
 	size_t len;
 
-	len = strlen(name);
-	if (len > 1 && name[len-1] == storage->hierarchy_sep) {
-		/* mailbox and mailbox/ should be treated equally */
-		name = t_strndup(name, len-1);
-	}
-
 	if (strncasecmp(name, "INBOX", 5) == 0 &&
 	    (name[5] == '\0' || name[5] == storage->hierarchy_sep)) {
 		/* use same case with all INBOX folders or we'll get