diff src/lib-storage/index/maildir/maildir-sync.c @ 1940:876bd2849a00 HEAD

fixes
author Timo Sirainen <tss@iki.fi>
date Sat, 01 May 2004 17:30:25 +0300
parents 68938dccbc45
children 5a3c3b4d4a02
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-sync.c	Fri Apr 30 23:17:15 2004 +0300
+++ b/src/lib-storage/index/maildir/maildir-sync.c	Sat May 01 17:30:25 2004 +0300
@@ -132,7 +132,6 @@
 		ibox->commit_log_file_seq = 0;
 		ibox->commit_log_file_offset = 0;
 	} else {
-		// FIXME: this is bad - we have to fix this in some way
 		mail_storage_set_index_error(ibox);
 	}
 	return ret;
@@ -307,7 +306,7 @@
 
 	if (mail_index_sync_begin(ibox->index, &sync_ctx, &view,
 				  (uint32_t)-1, (uoff_t)-1) <= 0) {
-		// FIXME: ?
+		mail_storage_set_index_error(ibox);
 		return -1;
 	}
 
@@ -393,7 +392,6 @@
 		ibox->commit_log_file_seq = 0;
 		ibox->commit_log_file_offset = 0;
 	} else {
-		// FIXME: this is bad - we have to fix this in some way
 		mail_storage_set_index_error(ibox);
 	}