From d77a0dda684f4de6e9a5b5f247617c1719a78273 Mon Sep 17 00:00:00 2001 From: Eric <xplzv@126.com> Date: Tue, 21 May 2019 18:46:11 +0800 Subject: [PATCH] [update]fix bugs --- pkg/proxy/switch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/switch.go b/pkg/proxy/switch.go index 679f924..63c019c 100644 --- a/pkg/proxy/switch.go +++ b/pkg/proxy/switch.go @@ -133,7 +133,7 @@ func (s *SwitchSession) Bridge(userConn UserConnection, srvConn ServerConnection select { // 检测是å¦è¶…过最大空闲时间 case <-time.After(time.Duration(s.MaxIdleTime) * time.Minute): - msg := i18n.T(fmt.Sprintf("\n\nConnect idle more than %d minutes, disconnect", s.MaxIdleTime)) + msg := i18n.T(fmt.Sprintf("\n\rConnect idle more than %d minutes, disconnect", s.MaxIdleTime)) msg = utils.WrapperWarn(msg) utils.IgnoreErrWriteString(s.userTran, msg) return -- 2.18.0