]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Previous change caused legitimate SYNC resends to be ignored.
authorTimo Sirainen <tss@iki.fi>
Thu, 15 Aug 2013 17:25:12 +0000 (20:25 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 15 Aug 2013 17:25:12 +0000 (20:25 +0300)
src/director/director-connection.c

index d69e82cfa0b9d1061b0236b66e52734d20ece063..40e0ba721fbf224497691faa719f256da34a3922 100644 (file)
@@ -1124,7 +1124,7 @@ director_connection_sync_host(struct director_connection *conn,
                        /* stale SYNC event */
                        return FALSE;
                } else if (host->last_sync_seq != seq ||
-                          timestamp < host->last_sync_timestamp) {
+                          timestamp > host->last_sync_timestamp) {
                        host->last_sync_seq = seq;
                        host->last_sync_timestamp = timestamp;
                        host->last_sync_seq_counter = 1;