[master] 1481db2 Fix oversight

Poul-Henning Kamp phk at FreeBSD.org
Wed Jan 14 13:58:38 CET 2015


commit 1481db22dd8d62c91e430cc9887f0383cd9e05a5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jan 14 12:58:10 2015 +0000

    Fix oversight

diff --git a/bin/varnishd/waiter/cache_waiter_ports.c b/bin/varnishd/waiter/cache_waiter_ports.c
index 5b12374..9bd110a 100644
--- a/bin/varnishd/waiter/cache_waiter_ports.c
+++ b/bin/varnishd/waiter/cache_waiter_ports.c
@@ -214,7 +214,7 @@ vws_thread(void *priv)
 		 */
 
 		if (sp) {
-			double tmo = (sp->deadline + *vws->tmo) - now;
+			double tmo = (sp->deadline + *vws->waiter->tmo) - now;
 
 			if (tmo < min_t) {
 				timeout = &min_ts;



More information about the varnish-commit mailing list