aboutsummaryrefslogtreecommitdiff
path: root/src/util/support/fake-addrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/support/fake-addrinfo.c')
-rw-r--r--src/util/support/fake-addrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c
index eba4c74..a1a4818 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; \
}
/*