diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-21 02:50:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-21 02:50:39 +0200 |
commit | 84c5357cf31b9b04e794f474ad3ab47cc55f61a1 (patch) | |
tree | 295b79be87567b79b56f62f0ad514c92656aa07b /receive.go | |
parent | acb5481246ea97bff64cc3eba1fa4255fc1ccd72 (diff) |
Reasonable punctuation given the spacing
Diffstat (limited to 'receive.go')
-rw-r--r-- | receive.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -445,7 +445,7 @@ func (device *Device) RoutineHandshake() { peer.endpoint = elem.endpoint peer.mutex.Unlock() - logDebug.Println(peer, ": Received handshake initiation") + logDebug.Println(peer, "- Received handshake initiation") peer.SendHandshakeResponse() @@ -478,7 +478,7 @@ func (device *Device) RoutineHandshake() { peer.endpoint = elem.endpoint peer.mutex.Unlock() - logDebug.Println(peer, ": Received handshake response") + logDebug.Println(peer, "- Received handshake response") // update timers @@ -490,7 +490,7 @@ func (device *Device) RoutineHandshake() { err = peer.BeginSymmetricSession() if err != nil { - logError.Println(peer, ": Failed to derive keypair:", err) + logError.Println(peer, "- Failed to derive keypair:", err) continue } @@ -513,11 +513,11 @@ func (peer *Peer) RoutineSequentialReceiver() { logDebug := device.log.Debug defer func() { - logDebug.Println(peer, ": Routine: sequential receiver - stopped") + logDebug.Println(peer, "- Routine: sequential receiver - stopped") peer.routines.stopping.Done() }() - logDebug.Println(peer, ": Routine: sequential receiver - started") + logDebug.Println(peer, "- Routine: sequential receiver - started") peer.routines.starting.Done() @@ -570,7 +570,7 @@ func (peer *Peer) RoutineSequentialReceiver() { // check for keepalive if len(elem.packet) == 0 { - logDebug.Println(peer, ": Receiving keepalive packet") + logDebug.Println(peer, "- Receiving keepalive packet") continue } peer.timersDataReceived() |