Commit 3cd17e7d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid dummy "unknown option dccp-service" error

Signed-off-by: default avatarRémi Denis-Courmont <rem@videolan.org>
parent 9b978809
......@@ -125,6 +125,8 @@ int net_Socket (vlc_object_t *p_this, int family, int socktype,
#endif
#ifdef DCCP_SOCKOPT_SERVICE
if (socktype == SOL_DCCP)
{
char *dccps = var_CreateGetNonEmptyString (p_this, "dccp-service");
if (dccps != NULL)
{
......@@ -132,6 +134,7 @@ int net_Socket (vlc_object_t *p_this, int family, int socktype,
(strlen (dccps) + 3) & ~3);
free (dccps);
}
}
#endif
return fd;
......
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