]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Avoid "Received SYNC while already synced" error.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Jul 2010 13:59:51 +0000 (14:59 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Jul 2010 13:59:51 +0000 (14:59 +0100)
--HG--
branch : HEAD

src/director/director-connection.c

index 12149ec24ab6362ec45538055061bae6190c2514..296c2e283ae5864205e0f7620498cc8e362c9a86 100644 (file)
@@ -492,6 +492,7 @@ static void director_handshake_cmd_done(struct director_connection *conn)
                /* we're connected to both directors. see if the ring is
                   finished by sending a SYNC. if we get it back, it's done. */
                dir->sync_seq++;
+               dir->ring_synced = FALSE;
                director_connection_send(dir->right,
                        t_strdup_printf("SYNC\t%s\t%u\t%u\n",
                                        net_ip2addr(&dir->self_ip),