From 12ec974ad83a77a8c5d353d56658e5026c08638f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 17 Sep 2003 03:08:48 +0300 Subject: [PATCH] Revert the mailbox/ == mailbox change after all. It broke LIST and it's not important really.. --HG-- branch : HEAD --- src/lib-storage/index/maildir/maildir-storage.c | 6 ------ 1 file changed, 6 deletions(-) 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 -- 2.47.3