]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Revert the mailbox/ == mailbox change after all. It broke LIST and it's not
authorTimo Sirainen <tss@iki.fi>
Wed, 17 Sep 2003 00:08:48 +0000 (03:08 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 17 Sep 2003 00:08:48 +0000 (03:08 +0300)
important really..

--HG--
branch : HEAD

src/lib-storage/index/maildir/maildir-storage.c

index b2a5a5549acd6759d29ec02a570155bf97ab11c8..ab53dd306c164993c6b0844264eee7edffb00969 100644 (file)
@@ -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