[vlc-devel] [PATCH] Add support for AMT multicast tunneling over non-multicast enabled networks

Rémi Denis-Courmont remi at remlab.net
Sat Sep 7 14:49:09 CEST 2019


Le lauantaina 7. syyskuuta 2019, 15.46.41 EEST Rémi Denis-Courmont a écrit :
> 	Hello,
> 
> Le tiistaina 3. syyskuuta 2019, 16.51.43 EEST Natalie Landsberg a écrit :
> > 4. for each vlc_getaddrinfo()
> > call, changed error response check to be if(!res) instead of if(res)
> 
> That's incorrect either way. Please refer to the documentation.

Meaning it's incorrect to check the truth value returned via the forth 
getaddrinfo() parameter, which is generally called 'res'. Though, if you use 
res to designate the returned value instead, then it's ok, but it's very 
confusing wording.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list