-Change check to actually check for disconn_cb instead of arg, to prevent null pointer derefence.
-Change behaviour to only fire disconnect CB when a peer has a parent, to be in line with documentation.
Edited by Gijs Peskens
-Change check to actually check for disconn_cb instead of arg, to prevent null pointer derefence.
-Change behaviour to only fire disconnect CB when a peer has a parent, to be in line with documentation.
VideoLAN code repository instance