summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostbydns.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/gethostbydns.c')
-rw-r--r--lib/libc/net/gethostbydns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 63bda78..1077bb8 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -348,7 +348,7 @@ gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
break;
}
bp += n;
- _map_v4v6_hostent(he, &bp, &ep);
+ _map_v4v6_hostent(he, &bp, ep);
}
h_errno = NETDB_SUCCESS;
return 0;
@@ -425,7 +425,7 @@ gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
bp += n;
}
if (_res.options & RES_USE_INET6)
- _map_v4v6_hostent(he, &bp, &ep);
+ _map_v4v6_hostent(he, &bp, ep);
h_errno = NETDB_SUCCESS;
return 0;
}
OpenPOWER on IntegriCloud