]> git.sesse.net Git - vlc/commitdiff
BeOS specific compile fix, there is no INADDR_NONE defined on BeOS, I changed it...
authorStephan Assmus <stippi@videolan.org>
Thu, 15 Apr 2004 10:02:19 +0000 (10:02 +0000)
committerStephan Assmus <stippi@videolan.org>
Thu, 15 Apr 2004 10:02:19 +0000 (10:02 +0000)
src/misc/httpd.c

index fb8883c5d9a6061f09ec80d97d0808eeba2b2fd4..28e683d23d7000c96cb619cbc2a7c22937211768 100644 (file)
@@ -2196,7 +2196,8 @@ static int BuildAddr( struct sockaddr_in * p_socket,
         if( !inet_aton( psz_address, &p_socket->sin_addr ) )
 #else
         p_socket->sin_addr.s_addr = inet_addr( psz_address );
-        if( p_socket->sin_addr.s_addr == INADDR_NONE )
+/*        if( p_socket->sin_addr.s_addr == INADDR_NONE )*/
+        if( p_socket->sin_addr.s_addr == INADDR_BROADCAST )
 #endif
         {
             /* We have a fqdn, try to find its address */