aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-10-04 08:09:52 +0000
committerSteinar H. Gunderson <sesse@google.com>2007-10-04 08:09:52 +0000
commit6d5f89976106ac2636ecf6c470106f15c747971f (patch)
tree5f618e0a76d58a7e45b61032eaec3665dc1ea9fd /ares
parent77a3e3c7f714378101de845be33269ee4b3b0d4d (diff)
Another timeout fix in ares_getnameinfo().
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_getnameinfo.c b/ares/ares_getnameinfo.c
index 7fe191f86..06a4312a6 100644
--- a/ares/ares_getnameinfo.c
+++ b/ares/ares_getnameinfo.c
@@ -249,7 +249,7 @@ static void nameinfo_callback(void *arg, int status, int timeouts, struct hosten
service = lookup_service(niquery->addr.addr6.sin6_port,
niquery->flags, srvbuf, sizeof(srvbuf));
}
- niquery->callback(niquery->arg, ARES_SUCCESS, 0, ipbuf, service);
+ niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, service);
return;
}
niquery->callback(niquery->arg, status, niquery->timeouts, NULL, NULL);