This commit is contained in:
Bryan Boreham committed 2014-09-10 16:02:50 +01:00
1 parent ba72999b04
commit 0e23c29cae
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ func (cm *ConnectionMaker) checkStateAndAttemptConnections(now time.Time) {
cm.addToTargets(address) cm.addToTargets(address)
} }
now = time.Now() // make sure we catch items just added now = time.Now() // make sure we catch items just added
for address, target := range cm.targets { for address, target := range cm.targets {
if target.state == CSUnconnected { if target.state == CSUnconnected {
if our_connected_targets[address] || !validTarget[address] { if our_connected_targets[address] || !validTarget[address] {