Commit dd2b9934 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

upnp: Don't print a potentially NULL interface name

parent affd79f8
......@@ -1275,7 +1275,7 @@ UpnpInstanceWrapper *UpnpInstanceWrapper::get(vlc_object_t *p_obj, services_disc
#ifdef UPNP_ENABLE_IPV6
char* psz_miface = var_InheritString( p_obj, "miface" );
msg_Info( p_obj, "Initializing libupnp on '%s' interface", psz_miface );
msg_Info( p_obj, "Initializing libupnp on '%s' interface", psz_miface ? psz_miface : "default" );
int i_res = UpnpInit2( psz_miface, 0 );
free( psz_miface );
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment