Mercurial > dovecot > core-2.2
changeset 12387:ed94f6d615ef
dbox: Minor optimization when creating a mailbox when its alt dir already existed.
Patch by DINH Viêt Hoà
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 04 Nov 2010 17:00:42 +0000 |
parents | 8fed40bfaaba |
children | 952dc335eb75 |
files | src/lib-storage/index/dbox-common/dbox-storage.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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",