aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-10-04 08:09:04 +0000
committerSteinar H. Gunderson <sesse@google.com>2007-10-04 08:09:04 +0000
commit77a3e3c7f714378101de845be33269ee4b3b0d4d (patch)
tree09f4b6be949a1385d8ce29a716f9ea7a1d78eacf
parent81249965f735328c99f2899eba60db99dee92acb (diff)
Send the timeout count in ares_getnameinfo().
-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 4f690f9d0..7fe191f86 100644
--- a/ares/ares_getnameinfo.c
+++ b/ares/ares_getnameinfo.c
@@ -252,7 +252,7 @@ static void nameinfo_callback(void *arg, int status, int timeouts, struct hosten
niquery->callback(niquery->arg, ARES_SUCCESS, 0, ipbuf, service);
return;
}
- niquery->callback(niquery->arg, status, 0, NULL, NULL);
+ niquery->callback(niquery->arg, status, niquery->timeouts, NULL, NULL);
free(niquery);
}