[vlc-commits] commit: net_Connect: missing hints ai_socktype ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Wed May 5 18:34:12 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 5 19:20:25 2010 +0300| [e8283156e13a8615382d89ca4fbd10afa261438d] | committer: Rémi Denis-Courmont
net_Connect: missing hints ai_socktype
(cherry picked from commit 5d61b6b2b169d1b9be4185232c71f301c06ff29f)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=e8283156e13a8615382d89ca4fbd10afa261438d
---
src/network/tcp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/network/tcp.c b/src/network/tcp.c
index 7b1cdfa..81e42de 100644
--- a/src/network/tcp.c
+++ b/src/network/tcp.c
@@ -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" );
More information about the vlc-commits
mailing list