* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
This commit is contained in:
Ulrich Drepper 2004-09-28 22:16:26 +00:00
parent 21ae57c413
commit 6c81dc423b
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
getifaddrs call.
* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
disable all checking.

View File

@ -179,7 +179,7 @@ getbroadcastnets (struct in_addr *addrs, int naddrs)
{
struct ifaddrs *ifa;
if (getifaddrs (&ifa) == 0)
if (getifaddrs (&ifa) != 0)
{
perror ("broadcast: getifaddrs");
return 0;