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

net_Connect: missing hints ai_socktype

(cherry picked from commit 5d61b6b2)
parent 0bf282fd
......@@ -85,6 +85,7 @@ int net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
return -1;
memset( &hints, 0, sizeof( hints ) );
hints.ai_socktype = type;
hints.ai_protocol = proto;
psz_socks = var_CreateGetNonEmptyString( p_this, "socks" );
......
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