From: Ken Raeburn Date: Thu, 28 Sep 2006 19:07:19 +0000 (+0000) Subject: Fix AIX version of GET_HOST_BY_NAME to use TMP.ent for the result, not X-Git-Tag: krb5-1.6-alpha1~120 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=455e84c2c635475403ad96d02d14d54a609e22dc;p=krb5.git Fix AIX version of GET_HOST_BY_NAME to use TMP.ent for the result, not the no-longer-defined my_h_ent. ticket: 4256 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18632 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c index eba4c74b6..a1a4818d2 100644 --- a/src/util/support/fake-addrinfo.c +++ b/src/util/support/fake-addrinfo.c @@ -177,7 +177,7 @@ typedef struct { { \ (HP) = (gethostbyname_r((NAME), &TMP.ent, &TMP.data) \ ? 0 \ - : &my_h_ent); \ + : &TMP.ent); \ (ERR) = h_errno; \ } /*