summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/res_send.c')
-rw-r--r--lib/libc/net/res_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c
index d39bbc5..6885ffd 100644
--- a/lib/libc/net/res_send.c
+++ b/lib/libc/net/res_send.c
@@ -415,7 +415,7 @@ res_send(buf, buflen, ans, anssiz)
do {
res_sendhookact act;
- act = (*Qhook)((struct sockaddr_in **)&nsap,
+ act = (*Qhook)(&nsap,
&buf, &buflen,
ans, anssiz, &resplen);
switch (act) {
@@ -871,7 +871,7 @@ read_len:
do {
res_sendhookact act;
- act = (*Rhook)((struct sockaddr_in *)nsap,
+ act = (*Rhook)(nsap,
buf, buflen,
ans, anssiz, &resplen);
switch (act) {
OpenPOWER on IntegriCloud