---
event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/event.c b/event.c
index 91158b3..21e6c9e 100644
--- a/event.c
+++ b/event.c
@@ -62,7 +62,7 @@ static inline void
timeval_minus(struct timeval *d,
const struct timeval *s1, const struct timeval *s2)
{
- if(s1->tv_usec > s2->tv_usec) {
+ if(s1->tv_usec >= s2->tv_usec) {
d->tv_usec = s1->tv_usec - s2->tv_usec;
d->tv_sec = s1->tv_sec - s2->tv_sec;
} else {
--
1.6.6
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users