-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.
-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