Fix AIX version of GET_HOST_BY_NAME to use TMP.ent for the result, not
authorKen Raeburn <raeburn@mit.edu>
Thu, 28 Sep 2006 19:07:19 +0000 (19:07 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 28 Sep 2006 19:07:19 +0000 (19:07 +0000)
the no-longer-defined my_h_ent.

ticket: 4256

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18632 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/fake-addrinfo.c

index eba4c74b604ed9638fc9cc00ad35208d9c4559b5..a1a4818d2a3ba52d91a1a996b42bd779e65b1a3f 100644 (file)
@@ -177,7 +177,7 @@ typedef struct {
     {                                                          \
        (HP) = (gethostbyname_r((NAME), &TMP.ent, &TMP.data)    \
                ? 0                                             \
-               : &my_h_ent);                                   \
+               : &TMP.ent);                                    \
        (ERR) = h_errno;                                        \
     }
 /*