diff options
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r-- | ares/ares_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c index eca363aec..660ad3011 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -110,7 +110,7 @@ int ares__timedout(struct timeval *now, if(secs > 0) return 1; /* yes, timed out */ - if(secs < -1) + if(secs < 0) return 0; /* nope, not timed out */ /* if the full seconds were identical, check the sub second parts */ |