From: Timo Sirainen Date: Mon, 15 Sep 2003 21:21:17 +0000 (+0300) Subject: Reverted mailbox == mailbox/ change, it applies to only dual-use mailboxes.. X-Git-Tag: 1.1.alpha1~4328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888b95118f26f5a108d21f647d5aae9de4a1f949;p=thirdparty%2Fdovecot%2Fcore.git Reverted mailbox == mailbox/ change, it applies to only dual-use mailboxes.. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/mbox/mbox-storage.c b/src/lib-storage/index/mbox/mbox-storage.c index 37ecc164ba..80dfe93d0a 100644 --- a/src/lib-storage/index/mbox/mbox-storage.c +++ b/src/lib-storage/index/mbox/mbox-storage.c @@ -222,12 +222,6 @@ const char *mbox_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)) { name = t_strconcat("INBOX", name+5, NULL);