>From 168a14c1dc01cfc360ea831e5e9e8104f46f37c4 Mon Sep 17 00:00:00 2001
From: Nils Goroll <nils.goroll@uplex.de>
Date: Tue, 22 Jan 2013 22:08:09 +0100
Subject: [PATCH] remove invalid assertion in vws_thread()

tmo can become negativ if timeout_idle gets changed on the fly
or when the rtc jumps
---
 bin/varnishd/waiter/cache_waiter_ports.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/bin/varnishd/waiter/cache_waiter_ports.c b/bin/varnishd/waiter/cache_waiter_ports.c
index aa3d766..3c07b95 100644
--- a/bin/varnishd/waiter/cache_waiter_ports.c
+++ b/bin/varnishd/waiter/cache_waiter_ports.c
@@ -222,12 +222,6 @@ vws_thread(void *priv)
 			double tmo =
 			    (sp->t_idle + cache_param->timeout_idle) - now;
 
-			/*
-			 * we should have removed all sps whose timeout
-			 * has passed
-			 */
-			assert(tmo > 0.0);
-
 			if (tmo < min_t) {
 				timeout = &min_ts;
 			} else if (tmo > max_t) {
-- 
1.5.6.5

