From: Ken Raeburn Date: Wed, 21 Jun 2006 00:31:19 +0000 (+0000) Subject: *sigh* X-Git-Tag: krb5-1.6-alpha1~280 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=efbd8b34e1f5b0987185c17facf3aace20b29829;p=krb5.git *sigh* Stupid typo in last change. ticket: 2759 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18184 dc483132-0cff-0310-8789-dd5450dbe970 --- 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; \