[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:30:43 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 5 19:20:25 2010 +0300| [5d61b6b2b169d1b9be4185232c71f301c06ff29f] | committer: Rémi Denis-Courmont
net_Connect: missing hints ai_socktype
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d61b6b2b169d1b9be4185232c71f301c06ff29f
---
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 77c7287..778a2d7 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