fix reversed variables in a warning message.

This commit is contained in:
David Hill 2013-10-17 16:58:57 -04:00
parent e5620d6387
commit 0abfdcc88b

View file

@ -938,7 +938,7 @@ func (p *peer) inHandler() {
// matter. // matter.
if p.versionKnown { if p.versionKnown {
log.Warnf("Peer %s no answer for %d minutes, "+ log.Warnf("Peer %s no answer for %d minutes, "+
"disconnecting", idleTimeoutMinutes, p) "disconnecting", p, idleTimeoutMinutes)
} }
p.Disconnect() p.Disconnect()
}) })