Commit dd0524ce authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Avoid dummy error messages

parent ddff0fb8
......@@ -353,6 +353,7 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
str = var_CreateGetString (p_this, "miface");
if (str != NULL)
{
if (*str)
net_SetMcastOut (p_this, fd, ptr->ai_family, str, NULL);
free (str);
}
......@@ -360,6 +361,7 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
str = var_CreateGetString (p_this, "miface-addr");
if (str != NULL)
{
if (*str)
net_SetMcastOut (p_this, fd, ptr->ai_family, NULL, str);
free (str);
}
......
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