[master] 7bb454a s/|/&/

Poul-Henning Kamp phk at FreeBSD.org
Tue Aug 29 00:47:10 CEST 2017


commit 7bb454ad6a421bcc034d01840cd68b2bf1ff86b3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 28 22:46:32 2017 +0000

    s/|/&/
    
    Spotted by:	fgs

diff --git a/bin/varnishstat/varnishstat_curses.c b/bin/varnishstat/varnishstat_curses.c
index dbf6036..3c27517 100644
--- a/bin/varnishstat/varnishstat_curses.c
+++ b/bin/varnishstat/varnishstat_curses.c
@@ -1072,7 +1072,7 @@ do_curses(struct vsm *vd, double delay)
 
 	init_hitrate();
 	while (keep_running) {
-		if (VSM_Status(vd) | (VSM_MGT_CHANGED|VSM_WRK_CHANGED)) {
+		if (VSM_Status(vd) & (VSM_MGT_CHANGED|VSM_WRK_CHANGED)) {
 			init_hitrate();
 			delete_pt_list();
 			build_pt_list(vd, &f_iter);



More information about the varnish-commit mailing list