[master] a0da22f Make varnishstat use the -w update interval argument in curses mode.

Martin Blix Grydeland martin at varnish-software.com
Wed Apr 9 15:23:01 CEST 2014


commit a0da22f9a3df031ff345b1a06311fc41a0ed3d79
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Wed Apr 9 15:21:41 2014 +0200

    Make varnishstat use the -w update interval argument in curses mode.

diff --git a/bin/varnishstat/varnishstat_curses.c b/bin/varnishstat/varnishstat_curses.c
index 6e8bae8..356a92b 100644
--- a/bin/varnishstat/varnishstat_curses.c
+++ b/bin/varnishstat/varnishstat_curses.c
@@ -863,7 +863,7 @@ do_curses(struct VSM_data *vd, int delay)
 	struct VSM_fantom f_mgt = VSM_FANTOM_NULL;
 	struct VSM_fantom f_iter = VSM_FANTOM_NULL;
 
-	(void)delay;
+	interval = delay;
 
 	initscr();
 	raw();



More information about the varnish-commit mailing list