aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/pmap_rmt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-28 22:16:26 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-28 22:16:26 +0000
commit6c81dc423b333d871a16083c74e42be68516e8e2 (patch)
tree33dd14ae21299390e9d6927a61f1ab33de83a49f /sunrpc/pmap_rmt.c
parent21ae57c4135109f3e5478c713463fe4951605fd8 (diff)
downloadglibc-6c81dc423b333d871a16083c74e42be68516e8e2.tar
glibc-6c81dc423b333d871a16083c74e42be68516e8e2.tar.gz
glibc-6c81dc423b333d871a16083c74e42be68516e8e2.tar.bz2
glibc-6c81dc423b333d871a16083c74e42be68516e8e2.zip
Update.
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
Diffstat (limited to 'sunrpc/pmap_rmt.c')
-rw-r--r--sunrpc/pmap_rmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c
index e446f5e608..4ff707ad15 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;