Send the timeout count in ares_getnameinfo().

pull/1/head
Steinar H. Gunderson 17 years ago
parent 4f438605ca
commit d5919bbe17
  1. 2
      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);
}

Loading…
Cancel
Save