[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.117, 1.118

cras at dovecot.org cras at dovecot.org
Mon Nov 1 22:48:13 EET 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv9891

Modified Files:
	mbox-sync.c 
Log Message:
error message fix



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- mbox-sync.c	1 Nov 2004 13:43:06 -0000	1.117
+++ mbox-sync.c	1 Nov 2004 20:48:11 -0000	1.118
@@ -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;
 



More information about the dovecot-cvs mailing list