From a626a740ea21e3a60de8d55efc756229fa04969b Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Thu, 6 Sep 2018 12:28:09 +0930 Subject: [PATCH] rtmp: remove missed comments --- rtmp/rtmp.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 4db77ec0..93a2e813 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -1611,7 +1611,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) { return false } - //if C.ReadN(r, (*byte)(unsafe.Pointer(&typ)), 1) != 1 { if C_ReadN(r, (*byte)(unsafe.Pointer(&typ)), 1) != 1 { return false } @@ -1624,7 +1623,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) { clientbuf[0], typ) } if C_ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE { - //if C.ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE { return false } @@ -1638,7 +1636,6 @@ func C_HandShake(r *C_RTMP, FP9HandShake int32) (ok bool) { } if C_ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE { - //if C.ReadN(r, (*byte)(unsafe.Pointer(&serversig[0])), RTMP_SIG_SIZE) != RTMP_SIG_SIZE { return false }