diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-15 22:57:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-15 22:57:33 +0000 |
commit | 7cb1c3a21577f60cd041662ef0a0be72dd9cef5a (patch) | |
tree | a4aabd3ab4cf004832aceafbcad750dffbe5e26f /ares_process.c | |
parent | 6bf4d4e8436ec6a8478fa3db5cfbfb8e9b65665c (diff) | |
download | c-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.c | 2 |
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 */ |