From: Timo Sirainen Date: Wed, 17 Sep 2003 00:08:48 +0000 (+0300) Subject: Revert the mailbox/ == mailbox change after all. It broke LIST and it's not X-Git-Tag: 1.1.alpha1~4327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ec974ad83a77a8c5d353d56658e5026c08638f;p=thirdparty%2Fdovecot%2Fcore.git Revert the mailbox/ == mailbox change after all. It broke LIST and it's not important really.. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/maildir/maildir-storage.c b/src/lib-storage/index/maildir/maildir-storage.c index b2a5a5549a..ab53dd306c 100644 --- a/src/lib-storage/index/maildir/maildir-storage.c +++ b/src/lib-storage/index/maildir/maildir-storage.c @@ -173,12 +173,6 @@ const char *maildir_fix_mailbox_name(struct mail_storage *storage, 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