diff src/director/director-connection.c @ 13921:c70965e8b27d

director: If request is timed out, log an error.
author Timo Sirainen <tss@iki.fi>
date Tue, 10 Jan 2012 21:37:54 +0200
parents 66e3cc789efb
children 9e43af01f147
line wrap: on
line diff
--- a/src/director/director-connection.c	Tue Jan 10 13:12:08 2012 +0200
+++ b/src/director/director-connection.c	Tue Jan 10 21:37:54 2012 +0200
@@ -570,7 +570,7 @@
 		/* 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_set_ring_unsynced(dir);
 		director_connection_send(dir->right,
 			t_strdup_printf("SYNC\t%s\t%u\t%u\n",
 					net_ip2addr(&dir->self_ip),
@@ -1130,7 +1130,7 @@
 	if (dir->left == NULL || dir->right == NULL) {
 		/* we aren't synced until we're again connected to a ring */
 		dir->sync_seq++;
-		dir->ring_synced = FALSE;
+		director_set_ring_unsynced(dir);
 	}
 }