inaddr-any-20040305

use INADDR_ANY instead of ADDR_ANY.
This commit is contained in:
Jim Rees 2004-03-06 02:42:53 +00:00
parent 01059dcb66
commit 9be2bdb79d

View File

@ -121,7 +121,7 @@ rxi_GetUDPSocket(u_short port)
goto error; goto error;
} }
taddr.sin_addr.s_addr = ADDR_ANY; taddr.sin_addr.s_addr = INADDR_ANY;
taddr.sin_family = AF_INET; taddr.sin_family = AF_INET;
taddr.sin_port = (u_short) port; taddr.sin_port = (u_short) port;
#ifdef STRUCT_SOCKADDR_HAS_SA_LEN #ifdef STRUCT_SOCKADDR_HAS_SA_LEN