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

Win32 compile fix

parent 3b11c7d3
...@@ -220,7 +220,7 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -220,7 +220,7 @@ static int OpenUDP( vlc_object_t * p_this )
*/ */
if( IN_MULTICAST( ntohl( loc.sin_addr.s_addr ) ) ) if( IN_MULTICAST( ntohl( loc.sin_addr.s_addr ) ) )
{ {
struct sockaddr_in stupid = sock; struct sockaddr_in stupid = loc;
stupid.sin_addr.s_addr = INADDR_ANY; stupid.sin_addr.s_addr = INADDR_ANY;
if( bind( i_handle, (struct sockaddr *)&stupid, sizeof( stupid ) ) < 0 ) if( bind( i_handle, (struct sockaddr *)&stupid, sizeof( stupid ) ) < 0 )
......
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