aboutsummaryrefslogtreecommitdiff
path: root/process.go
diff options
context:
space:
mode:
Diffstat (limited to 'process.go')
-rw-r--r--process.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/process.go b/process.go
index e30fcb9..33b0fa5 100644
--- a/process.go
+++ b/process.go
@@ -49,10 +49,7 @@ func (cc *ClientConn) process(pkt mt.Pkt) {
}
if cmd.MaxProtoVer < protoVer || cmd.MinProtoVer > protoVer {
- min := cmd.MinProtoVer
- max := cmd.MaxProtoVer
-
- cc.Log("<-", "unsupported protoVer range min", min, "max", max, "expect", protoVer)
+ cc.Log("<-", "unsupported protoVer range min", cmd.MinProtoVer, "max", cmd.MaxProtoVer, "expect", protoVer)
ack, _ := cc.SendCmd(&mt.ToCltKick{Reason: mt.UnsupportedVer})
select {