[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.54, 1.55

cras at procontrol.fi cras at procontrol.fi
Sat Jul 3 23:17:40 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv28931/lib-storage/index

Modified Files:
	index-storage.c 
Log Message:
Removed mail_index_is_in_memory(). It wasn't implemented and it's useless
anyway. User doesn't need to see "couldn't use index files" error message.



Index: index-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- index-storage.c	22 Jun 2004 07:48:18 -0000	1.54
+++ index-storage.c	3 Jul 2004 20:17:37 -0000	1.55
@@ -342,13 +342,6 @@
 					get_default_cache_fields(),
 					get_never_cache_fields());
 
-		if (mail_index_is_in_memory(index) &&
-		    storage->index_dir != NULL) {
-			storage->callbacks->notify_no(&ibox->box,
-				"Couldn't use index files",
-				storage->callback_context);
-		}
-
 		ibox->view = mail_index_view_open(index);
 		return ibox;
 	} while (0);



More information about the dovecot-cvs mailing list