Fix type in conditional expression
Fix type in conditional expression

Function media_endpoint_create returns pointer to structure. In
conditional expression it is safer to compare returned value with NULL
and not with gboolean as it is done in register_endpoint function.

mapfau/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,ComputeCycles/bluez,mapfau/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,pkarasev3/bluez,mapfau/bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,silent-snowman/bluez,pkarasev3/bluez,silent-snowman/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,ComputeCycles/bluez