summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-15 22:57:33 +0000
committerYang Tse <yangsita@gmail.com>2008-05-15 22:57:33 +0000
commit7cb1c3a21577f60cd041662ef0a0be72dd9cef5a (patch)
treea4aabd3ab4cf004832aceafbcad750dffbe5e26f /ares_process.c
parent6bf4d4e8436ec6a8478fa3db5cfbfb8e9b65665c (diff)
downloadc-ares-7cb1c3a21577f60cd041662ef0a0be72dd9cef5a.tar.gz
c-ares-7cb1c3a21577f60cd041662ef0a0be72dd9cef5a.tar.bz2
c-ares-7cb1c3a21577f60cd041662ef0a0be72dd9cef5a.zip
millisecond resolution support followup
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c
index eca363a..660ad30 100644
--- a/ares_process.c
+++ b/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 */