Mercurial > dovecot > core-2.2
changeset 4028:513318832fb6 HEAD
Fixed dbox autodetection and removed unused code.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 18 Feb 2006 14:09:27 +0200 |
parents | 0e7a9b0aa8c3 |
children | 9bdd186d7b7d |
files | src/lib-storage/index/dbox/dbox-storage.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox/dbox-storage.c Sat Feb 18 11:59:13 2006 +0200 +++ b/src/lib-storage/index/dbox/dbox-storage.c Sat Feb 18 14:09:27 2006 +0200 @@ -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);