Commit b64fc3c1 authored by Stephan Assmus's avatar Stephan Assmus

BeOS specific compile fix, there is no INADDR_NONE defined on BeOS, I changed...

BeOS specific compile fix, there is no INADDR_NONE defined on BeOS, I changed it to INADDR_BROADCAST, which is defined as the same thing on Linux. Hope it's ok, I left the original line as a comment...
parent 6e4e3d65
......@@ -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 */
......
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