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

net_Connect: missing hints ai_socktype

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