From efbd8b34e1f5b0987185c17facf3aace20b29829 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 21 Jun 2006 00:31:19 +0000 Subject: [PATCH] *sigh* Stupid typo in last change. ticket: 2759 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18184 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/support/fake-addrinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c index cdc2fdd04..eba4c74b6 100644 --- a/src/util/support/fake-addrinfo.c +++ b/src/util/support/fake-addrinfo.c @@ -203,9 +203,9 @@ typedef struct { struct hostent *my_hp = NULL; \ int my_h_err, my_ret; \ my_ret = gethostbyname_r((NAME), &TMP.ent, \ - TMP.buf, sizeof (TMP.buf), &TMP.hp, \ + TMP.buf, sizeof (TMP.buf), &my_hp, \ &my_h_err); \ - (HP) = (((my_ret != 0) || (TMP.hp != &TMP.ent)) \ + (HP) = (((my_ret != 0) || (my_hp != &TMP.ent)) \ ? 0 \ : &TMP.ent); \ (ERR) = my_h_err; \ @@ -217,7 +217,7 @@ typedef struct { my_ret = gethostbyaddr_r((ADDR), (ADDRLEN), (FAMILY), &TMP.ent, \ TMP.buf, sizeof (TMP.buf), &my_hp, \ &my_h_err); \ - (HP) = (((my_ret != 0) || (TMP.hp != &TMP.ent)) \ + (HP) = (((my_ret != 0) || (my_hp != &TMP.ent)) \ ? 0 \ : &TMP.ent); \ (ERR) = my_h_err; \ -- 2.26.2