aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r--ares/ares_process.c2
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 */