]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/client_conn.go
Remove unused var
[rbdr/mobius] / hotline / client_conn.go
index 5c25f928860348d66814f60f63f2f46fc8e5fef1..eea3790346d659d74b21e57e63197414020ef2b2 100644 (file)
@@ -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)
 // 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 {
        var h handshake
        r := bytes.NewReader(buf)
        if err := binary.Read(r, binary.BigEndian, &h); err != nil {