Commit 1ba11856 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

From @slink:

	tmo can become negative if timeout_idle gets changed on the fly
	or when the rtc jumps
parent f394d25d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment