Use increment on p.retryCount to make golint happy.

This commit is contained in:
Dave Collins 2014-03-19 17:58:58 -05:00
parent ae89f7aa82
commit e3f3918242

View file

@ -1605,7 +1605,7 @@ func newOutboundPeer(s *server, addr string, persistent bool) *peer {
srvrLog.Debugf("Attempting to connect to %s", addr)
conn, err := btcdDial("tcp", addr)
if err != nil {
p.retryCount += 1
p.retryCount++
srvrLog.Debugf("Failed to connect to %s: %v",
addr, err)
if !persistent {