dovecot-2.0: dbox: Minor optimization when creating a mailbox wh...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Nov 4 19:00:46 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/ed94f6d615ef
changeset: 12387:ed94f6d615ef
user: Timo Sirainen <tss at iki.fi>
date: Thu Nov 04 17:00:42 2010 +0000
description:
dbox: Minor optimization when creating a mailbox when its alt dir already existed.
Patch by DINH Viêt Hoà
diffstat:
src/lib-storage/index/dbox-common/dbox-storage.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 8fed40bfaaba -r ed94f6d615ef src/lib-storage/index/dbox-common/dbox-storage.c
--- a/src/lib-storage/index/dbox-common/dbox-storage.c Thu Nov 04 16:37:49 2010 +0000
+++ b/src/lib-storage/index/dbox-common/dbox-storage.c Thu Nov 04 17:00:42 2010 +0000
@@ -151,6 +151,7 @@
continue;
ret = 0;
+ break;
}
if (closedir(dir) < 0) {
mail_storage_set_critical(storage, "closedir(%s) failed: %m",
More information about the dovecot-cvs
mailing list