From: Ulrich Drepper Date: Tue, 28 Sep 2004 22:16:26 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-glibc-20040929T0821~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c81dc423b333d871a16083c74e42be68516e8e2;p=thirdparty%2Fglibc.git Update. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 8d1815e5f4c..ccf33bf6250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index e446f5e6089..4ff707ad157 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -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;