diff options
Diffstat (limited to 'hotline/client_conn.go')
| -rw-r--r-- | hotline/client_conn.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |