dovecot-1.3: Removed duplicate mail_index_is_in_memory().

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 14 02:21:02 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.3/rev/be8d15cb98e7
changeset: 9100:be8d15cb98e7
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 13 19:20:55 2009 -0400
description:
Removed duplicate mail_index_is_in_memory().

diffstat:

2 files changed, 7 deletions(-)
src/lib-index/mail-index.c |    5 -----
src/lib-index/mail-index.h |    2 --

diffs (27 lines):

diff -r 67369ba9f447 -r be8d15cb98e7 src/lib-index/mail-index.c
--- a/src/lib-index/mail-index.c	Mon Apr 13 18:23:37 2009 -0400
+++ b/src/lib-index/mail-index.c	Mon Apr 13 19:20:55 2009 -0400
@@ -606,11 +606,6 @@ int mail_index_move_to_memory(struct mai
 	return 0;
 }
 
-bool mail_index_is_in_memory(struct mail_index *index)
-{
-	return MAIL_INDEX_IS_IN_MEMORY(index);
-}
-
 void mail_index_mark_corrupted(struct mail_index *index)
 {
 	index->indexid = 0;
diff -r 67369ba9f447 -r be8d15cb98e7 src/lib-index/mail-index.h
--- a/src/lib-index/mail-index.h	Mon Apr 13 18:23:37 2009 -0400
+++ b/src/lib-index/mail-index.h	Mon Apr 13 19:20:55 2009 -0400
@@ -210,8 +210,6 @@ bool mail_index_is_in_memory(struct mail
 bool mail_index_is_in_memory(struct mail_index *index);
 /* Move the index into memory. Returns 0 if ok, -1 if error occurred. */
 int mail_index_move_to_memory(struct mail_index *index);
-/* Returns TRUE if index is currently in memory. */
-bool mail_index_is_in_memory(struct mail_index *index);
 
 struct mail_cache *mail_index_get_cache(struct mail_index *index);
 


More information about the dovecot-cvs mailing list