dovecot-1.1: dbox error handling fix
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 25 02:52:44 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/a2a199667c05
changeset: 7541:a2a199667c05
user: Timo Sirainen <tss at iki.fi>
date: Sun May 25 02:50:23 2008 +0300
description:
dbox error handling fix
diffstat:
1 file changed, 3 insertions(+)
src/lib-storage/index/dbox/dbox-mail.c | 3 +++
diffs (13 lines):
diff -r 30a97495c7bf -r a2a199667c05 src/lib-storage/index/dbox/dbox-mail.c
--- a/src/lib-storage/index/dbox/dbox-mail.c Sun May 25 02:50:06 2008 +0300
+++ b/src/lib-storage/index/dbox/dbox-mail.c Sun May 25 02:50:23 2008 +0300
@@ -204,6 +204,9 @@ dbox_mail_get_stream(struct mail *_mail,
/* FIXME: broken file/offset */
if (ret > 0)
i_stream_unref(&input);
+ mail_storage_set_critical(_mail->box->storage,
+ "broken pointer to dbox file %s",
+ mail->open_file->current_path);
return -1;
}
data->physical_size = size;
More information about the dovecot-cvs
mailing list