rtmp: remove missed comments

This commit is contained in:
Dan Kortschak 2018-09-06 12:28:09 +09:30
parent aac0801cdb
commit a626a740ea
1 changed files with 0 additions and 3 deletions

View File

@ -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
}