Fix typo
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 26 Oct 2006 18:22:23 +0000 (18:22 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 26 Oct 2006 18:22:23 +0000 (18:22 +0000)
modules/misc/network/ipv4.c

index 36114e4..2dd12e7 100644 (file)
@@ -218,7 +218,7 @@ static int OpenUDP( vlc_object_t * p_this )
     if( IN_MULTICAST( ntohl( sock.sin_addr.s_addr ) ) )
     {
         struct sockaddr_in stupid = sock;
-        sock.sin_addr.s_addr = INADDR_ANY;
+        stupid.sin_addr.s_addr = INADDR_ANY;
 
         if( bind( i_handle, (struct sockaddr *)&stupid, sizeof( stupid ) ) < 0 )
         {