Commit c754f632 authored by Christophe Massiot's avatar Christophe Massiot
Browse files

* src/misc/net.c: Fix for Cygwin which doesn't have inet_aton().

parent c2510014
......@@ -1180,6 +1180,7 @@ static int SocksHandshakeTCP( vlc_object_t *p_obj,
int __net_CheckIP( vlc_object_t *p_this, char *psz_ip, char **ppsz_hosts,
int i_hosts )
struct in_addr ip;
int i;
......@@ -1225,5 +1226,10 @@ int __net_CheckIP( vlc_object_t *p_this, char *psz_ip, char **ppsz_hosts,
return VLC_FALSE;
msg_Err( p_this, "hosts checking is not supported on this OS" );
return VLC_FALSE;
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