dovecot-1.2: Removed duplicate mail_index_is_in_memory().

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 14 02:20:52 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/1143c696126a
changeset: 8944:1143c696126a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 13 19:20:42 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 206af25d21bc -r 1143c696126a 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:42 2009 -0400
@@ -588,11 +588,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 206af25d21bc -r 1143c696126a 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:42 2009 -0400
@@ -195,8 +195,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