diff src/doveadm/dsync/dsync-brain.c @ 16222:d79cf48f1072

dsync: Fixed talking to earlier dsync without mailbox attribute support. Most importantly it can now be used as an example how to add more features to dsync.
author Timo Sirainen <tss@iki.fi>
date Sun, 07 Apr 2013 15:36:35 +0300
parents c51873a8e0d9
children e41a13ae504d
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-brain.c	Sun Apr 07 15:10:36 2013 +0300
+++ b/src/doveadm/dsync/dsync-brain.c	Sun Apr 07 15:36:35 2013 +0300
@@ -344,7 +344,7 @@
 	}
 	hash_table_iterate_deinit(&brain->mailbox_states_iter);
 
-	dsync_ibc_send_end_of_list(brain->ibc);
+	dsync_ibc_send_end_of_list(brain->ibc, DSYNC_IBC_EOL_MAILBOX_STATE);
 	brain->state = DSYNC_STATE_SEND_MAILBOX_TREE;
 }