X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/22c599abc18895f73e96095f35b71cf3357d41b4..e78868689018a34ea936d8f904a3240bf9eb3501:/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 {