dovecot-1.2: Maildir: Fixed using in-memory indexes when some re...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jul 8 04:51:49 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/c8dc38a3b902
changeset: 9203:c8dc38a3b902
user: Timo Sirainen <tss at iki.fi>
date: Tue Jul 07 21:51:37 2009 -0400
description:
Maildir: Fixed using in-memory indexes when some required directory was missing.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-util.c | 2 +-
diffs (12 lines):
diff -r 797474444551 -r c8dc38a3b902 src/lib-storage/index/maildir/maildir-util.c
--- a/src/lib-storage/index/maildir/maildir-util.c Tue Jul 07 21:43:57 2009 -0400
+++ b/src/lib-storage/index/maildir/maildir-util.c Tue Jul 07 21:51:37 2009 -0400
@@ -191,7 +191,7 @@ static int maildir_create_subdirs(struct
for (i = 0; i < N_ELEMENTS(dirs); i++) {
path = dirs[i];
- if (path == NULL || stat(path, &st) == 0)
+ if (*path == '\0' || stat(path, &st) == 0)
continue;
if (errno != ENOENT) {
mail_storage_set_critical(box->storage,
More information about the dovecot-cvs
mailing list