Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7541:a2a199667c05 HEAD
dbox error handling fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 25 May 2008 02:50:23 +0300 |
parents | 30a97495c7bf |
children | cf924043234d |
files | src/lib-storage/index/dbox/dbox-mail.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ /* 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;