Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2845:495718afaa10 HEAD
error message fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 01 Nov 2004 22:48:11 +0200 |
parents | cbf3b2890cad |
children | 8fcedb2551c8 |
files | src/lib-storage/index/mbox/mbox-sync.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-sync.c Mon Nov 01 15:53:14 2004 +0200 +++ b/src/lib-storage/index/mbox/mbox-sync.c Mon Nov 01 22:48:11 2004 +0200 @@ -688,10 +688,8 @@ old_offset = istream_raw_mbox_get_start_offset(sync_ctx->input); ret = mbox_file_seek(ibox, sync_ctx->sync_view, seq, &deleted); - if (ret < 0) { - mail_storage_set_index_error(ibox); + if (ret < 0) return -1; - } if (ret == 0) { if (istream_raw_mbox_seek(ibox->mbox_stream, @@ -1029,7 +1027,7 @@ return 0; } -static int mbox_sync_update_index_header(struct mbox_sync_context *sync_ctx) +static int mbox_sync_update_index_header(struct mbox_sync_context *sync_ctx) { struct stat st;