dovecot-2.0: lib-storage: Unit test fix.

dovecot at dovecot.org dovecot at dovecot.org
Thu May 13 10:13:50 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/fc664579ee4f
changeset: 11290:fc664579ee4f
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 13 09:01:51 2010 +0200
description:
lib-storage: Unit test fix.

diffstat:

 src/lib-storage/test-mail.c |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r ed1a37587471 -r fc664579ee4f src/lib-storage/test-mail.c
--- a/src/lib-storage/test-mail.c	Wed May 12 19:47:49 2010 +0200
+++ b/src/lib-storage/test-mail.c	Thu May 13 09:01:51 2010 +0200
@@ -167,6 +167,11 @@
 	return -1;
 }
 
+static struct mail *test_mail_get_real_mail(struct mail *mail)
+{
+	return mail;
+}
+
 static void
 test_mail_update_flags(struct mail *mail ATTR_UNUSED,
 		       enum modify_type modify_type ATTR_UNUSED,
@@ -229,6 +234,7 @@
 	test_mail_get_header_stream,
 	test_mail_get_stream,
 	test_mail_get_special,
+	test_mail_get_real_mail,
 	test_mail_update_flags,
 	test_mail_update_keywords,
 	test_mail_update_modseq,


More information about the dovecot-cvs mailing list