dovecot-2.2: lib-index: Message flag syncing was broken due to w...

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 12 08:34:14 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/ad22bdfe7bdc
changeset: 14877:ad22bdfe7bdc
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 12 08:05:49 2012 +0300
description:
lib-index: Message flag syncing was broken due to wrong struct cast.

diffstat:

 src/lib-index/mail-index-sync.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ab27926cb173 -r ad22bdfe7bdc src/lib-index/mail-index-sync.c
--- a/src/lib-index/mail-index-sync.c	Sun Aug 12 07:21:00 2012 +0300
+++ b/src/lib-index/mail-index-sync.c	Sun Aug 12 08:05:49 2012 +0300
@@ -626,7 +626,7 @@
 
 static void
 mail_index_sync_get_update(struct mail_index_sync_rec *rec,
-			   const struct mail_transaction_flag_update *update)
+			   const struct mail_index_flag_update *update)
 {
 	rec->type = MAIL_INDEX_SYNC_TYPE_FLAGS;
 	rec->uid1 = update->uid1;
@@ -705,7 +705,7 @@
 			(const struct mail_transaction_expunge_guid *)uid_range);
 	} else if (sync_list[i].array == (void *)&sync_trans->updates) {
 		mail_index_sync_get_update(sync_rec,
-			(const struct mail_transaction_flag_update *)uid_range);
+			(const struct mail_index_flag_update *)uid_range);
 	} else {
 		mail_index_sync_get_keyword_update(sync_rec, uid_range,
 						   &sync_list[i]);


More information about the dovecot-cvs mailing list