X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/e75ba43a4e6032b94bf3a3fedf9f557f2c4969e4..5c34f8752938764668d829fb284626b9c62c5475:/hotline/client_conn.go diff --git a/hotline/client_conn.go b/hotline/client_conn.go index 5c25f92..eea3790 100644 --- a/hotline/client_conn.go +++ b/hotline/client_conn.go @@ -201,7 +201,7 @@ type handshake struct { // Description Size Data Note // Protocol ID 4 TRTP //Error code 4 Error code returned by the server (0 = no error) -func Handshake(conn net.Conn, buf []byte) error { +func Handshake(conn net.Conn, buf []byte) error { var h handshake r := bytes.NewReader(buf) if err := binary.Read(r, binary.BigEndian, &h); err != nil {