Using my C_SocksNegotiate func - tested and working

This commit is contained in:
saxon 2018-08-11 11:44:55 +09:30
parent cb2f4549ed
commit c8c3b4b3aa
1 changed files with 2 additions and 2 deletions

View File

@ -1076,8 +1076,8 @@ func C_RTMP_Connect0(r *C.RTMP, service *C.sockaddr) int {
log.Println("C_RTMP_Connect0: socks negotiation.")
}
// TODO: port this
if C.SocksNegotiate(r) == 0 {
//if C.SocksNegotiate(r) == 0 {
if C_SocksNegotiate(r) == 0 {
log.Println("C_RTMP_Connect0: SOCKS negotiation failed.")
return 0
}