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

*Ahem*

parent d39a408a
...@@ -219,7 +219,7 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -219,7 +219,7 @@ static int OpenUDP( vlc_object_t * p_this )
{ {
struct sockaddr_in stupid = { .sin_family = AF_INET }; struct sockaddr_in stupid = { .sin_family = AF_INET };
if( bind( i_handle, (struct sockaddr *)&stupid, sizeof( sock ) < 0 ) ) if( bind( i_handle, (struct sockaddr *)&stupid, sizeof( stupid ) ) < 0 )
{ {
msg_Warn( p_this, "cannot bind socket (%d)", WSAGetLastError() ); msg_Warn( p_this, "cannot bind socket (%d)", WSAGetLastError() );
close( i_handle ); close( i_handle );
......
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