diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 19:24:08 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 14:24:08 -0700 |
| commit | 5c34f8752938764668d829fb284626b9c62c5475 (patch) | |
| tree | 85e6d1c802dcdf868b887cbc30944b44dfd462ea /hotline/client_conn.go | |
| parent | e75ba43a4e6032b94bf3a3fedf9f557f2c4969e4 (diff) | |
Ran `gofmt -w .`
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 { |