[dovecot-cvs] dovecot/src/lib-index mail-index.c, 1.138, 1.139 mail-index.h, 1.123, 1.124

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


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

Modified Files:
	mail-index.c mail-index.h 
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: mail-index.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- mail-index.c	24 Jun 2004 13:43:56 -0000	1.138
+++ mail-index.c	3 Jul 2004 20:17:37 -0000	1.139
@@ -968,8 +968,3 @@
 	index->nodiskspace = FALSE;
         index->index_lock_timeout = FALSE;
 }
-
-int mail_index_is_in_memory(struct mail_index *index)
-{
-	return FALSE; // FIXME
-}

Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- mail-index.h	3 Jul 2004 17:21:26 -0000	1.123
+++ mail-index.h	3 Jul 2004 20:17:37 -0000	1.124
@@ -296,9 +296,6 @@
 /* Reset the error message. */
 void mail_index_reset_error(struct mail_index *index);
 
-/* Returns TRUE if index is currently only in memory. */
-int mail_index_is_in_memory(struct mail_index *index);
-
 /* Apply changes in MAIL_INDEX_SYNC_TYPE_FLAGS typed sync records to given
    flags variables. */
 void mail_index_sync_flags_apply(const struct mail_index_sync_rec *sync_rec,



More information about the dovecot-cvs mailing list