From 78b2006af6d5a8d46aa18c640423ccd35b1ace7e Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Thu, 27 Jun 2019 22:28:53 -0700 Subject: [PATCH] gofmt Signed-off-by: Russ Magee --- hkexnet/hkextun.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hkexnet/hkextun.go b/hkexnet/hkextun.go index 38fbd0f..1f1133c 100644 --- a/hkexnet/hkextun.go +++ b/hkexnet/hkextun.go @@ -349,8 +349,8 @@ func (hc *Conn) StartServerTunnel(lport, rport uint16) { break } else if strings.Contains(e.Error(), "i/o timeout") { if !hc.TunIsAlive(rport) { - logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport])) - hc.ShutdownTun(rport) + logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport])) + hc.ShutdownTun(rport) break } } else {