@@ -321,7 +321,7 @@ func (c *Tcp2) ReadAuthInfo() (proto string, version uint8, channel string, auth
return
}
if proto != PROTO {
- err = fmt.Errorf("wrong proto: %s", proto)
+ err = fmt.Errorf("wrong proto: want %s, get %s", PROTO, proto)
if version != VERSION {
@@ -255,7 +255,7 @@ func (c *Ws2) ReadAuthInfo() (proto string, version uint8, channel string, auth
if proto != PROTO && proto != PROTO_STL {