diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-28 22:13:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-28 22:13:11 +0000 |
commit | 21ae57c4135109f3e5478c713463fe4951605fd8 (patch) | |
tree | e3bbeb96e59a469a1503c300b9166b32040dbf2e /sunrpc/get_myaddr.c | |
parent | a19fe332c1be896a4b834b26f8f2ed4813f180f2 (diff) | |
download | glibc-21ae57c4135109f3e5478c713463fe4951605fd8.zip glibc-21ae57c4135109f3e5478c713463fe4951605fd8.tar.gz glibc-21ae57c4135109f3e5478c713463fe4951605fd8.tar.bz2 |
Update.
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
getifaddrs call.
* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
Diffstat (limited to 'sunrpc/get_myaddr.c')
-rw-r--r-- | sunrpc/get_myaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/get_myaddr.c b/sunrpc/get_myaddr.c index ee82297..c0beee9 100644 --- a/sunrpc/get_myaddr.c +++ b/sunrpc/get_myaddr.c @@ -63,7 +63,7 @@ get_myaddress (struct sockaddr_in *addr) { struct ifaddrs *ifa; - if (getifaddrs (&ifa) == 0) + if (getifaddrs (&ifa) != 0) { perror ("get_myaddress: getifaddrs"); exit (1); |