Merge pull request #237 from huitema/develop

Fix the potential clipping of idle_timeout value in calls to upstream_reschedule_events()
This commit is contained in:
wtoorop 2016-12-08 12:21:16 +01:00 committed by GitHub
commit 984fbf5042
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ static void upstream_idle_timeout_cb(void *userarg);
static void upstream_schedule_netreq(getdns_upstream *upstream,
getdns_network_req *netreq);
static void upstream_reschedule_events(getdns_upstream *upstream,
size_t idle_timeout);
uint64_t idle_timeout);
static int upstream_connect(getdns_upstream *upstream,
getdns_transport_list_t transport,
getdns_dns_req *dnsreq);
@ -1816,7 +1816,7 @@ fallback_on_write(getdns_network_req *netreq)
}
static void
upstream_reschedule_events(getdns_upstream *upstream, size_t idle_timeout) {
upstream_reschedule_events(getdns_upstream *upstream, uint64_t idle_timeout) {
DEBUG_STUB("%s %-35s: FD: %d \n", STUB_DEBUG_SCHEDULE,
__FUNCTION__, upstream->fd);