[dovecot-cvs]
dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.7, 1.8
cras at dovecot.org
cras at dovecot.org
Sat Feb 18 14:09:30 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv12247
Modified Files:
dbox-storage.c
Log Message:
Fixed dbox autodetection and removed unused code.
Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dbox-storage.c 15 Feb 2006 19:37:34 -0000 1.7
+++ dbox-storage.c 18 Feb 2006 12:09:27 -0000 1.8
@@ -22,12 +22,6 @@
problems when they reach the limit. */
#define DBOX_MAX_MAILBOX_NAME_LENGTH (PATH_MAX/2)
-struct rename_context {
- bool found;
- size_t oldnamelen;
- const char *newname;
-};
-
extern struct mail_storage dbox_storage;
extern struct mailbox dbox_mailbox;
@@ -137,7 +131,7 @@
data = t_strcut(data, ':');
- path = t_strconcat(data, "/cur", NULL);
+ path = t_strconcat(data, "/inbox/Mails", NULL);
if (stat(path, &st) < 0) {
if (debug)
i_info("dbox autodetect: stat(%s) failed: %m", path);
More information about the dovecot-cvs
mailing list