[dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-storage.c,1.66,1.67
cras at procontrol.fi
cras at procontrol.fi
Tue Sep 16 01:21:19 EEST 2003
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory danu:/tmp/cvs-serv16503/lib-storage/index/mbox
Modified Files:
mbox-storage.c
Log Message:
Reverted mailbox == mailbox/ change, it applies to only dual-use mailboxes..
Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- mbox-storage.c 15 Sep 2003 17:49:04 -0000 1.66
+++ mbox-storage.c 15 Sep 2003 21:21:17 -0000 1.67
@@ -222,12 +222,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)) {
name = t_strconcat("INBOX", name+5, NULL);
More information about the dovecot-cvs
mailing list