[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-storage.c,1.56,1.57

cras at procontrol.fi cras at procontrol.fi
Wed Sep 17 04:08:50 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage/index/maildir
In directory danu:/tmp/cvs-serv22874/maildir

Modified Files:
	maildir-storage.c 
Log Message:
Revert the mailbox/ == mailbox change after all. It broke LIST and it's not
important really..



Index: maildir-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- maildir-storage.c	15 Sep 2003 17:49:04 -0000	1.56
+++ maildir-storage.c	17 Sep 2003 00:08:48 -0000	1.57
@@ -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



More information about the dovecot-cvs mailing list