mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Update.
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing getifaddrs call. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
This commit is contained in:
parent
a19fe332c1
commit
21ae57c413
@ -1,5 +1,9 @@
|
||||
2004-09-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
|
||||
getifaddrs call.
|
||||
* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
|
||||
|
||||
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
|
||||
disable all checking.
|
||||
|
||||
|
@ -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);
|
||||
|
@ -57,7 +57,7 @@ __get_myaddress (struct sockaddr_in *addr)
|
||||
{
|
||||
struct ifaddrs *ifa;
|
||||
|
||||
if (getifaddrs (&ifa) == 0)
|
||||
if (getifaddrs (&ifa) != 0)
|
||||
{
|
||||
perror ("get_myaddress: getifaddrs");
|
||||
exit (1);
|
||||
|
Loading…
Reference in New Issue
Block a user