Mercurial > dovecot > core-2.2
changeset 3907:fc69c8b9439a HEAD
Error handling / compiler warning fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 17 Jan 2006 16:04:01 +0200 |
parents | 51db9cedc120 |
children | afe21b6d4b68 |
files | src/lib-storage/index/mbox/mbox-storage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-storage.c Tue Jan 17 16:03:45 2006 +0200 +++ b/src/lib-storage/index/mbox/mbox-storage.c Tue Jan 17 16:04:01 2006 +0200 @@ -768,7 +768,7 @@ if (index_dir != NULL && rmdir(index_dir) < 0 && !ENOTFOUND(errno) && errno != ENOTEMPTY) { - if (!mbox_handle_errors(storage) < 0) { + if (!mbox_handle_errors(storage)) { mail_storage_set_critical(_storage, "rmdir() failed for %s: %m", index_dir); return -1;