r843 - trunk/varnish-cache/bin/varnishhist

phk at projects.linpro.no phk at projects.linpro.no
Sun Aug 20 09:32:50 CEST 2006


Author: phk
Date: 2006-08-20 09:32:50 +0200 (Sun, 20 Aug 2006)
New Revision: 843

Modified:
   trunk/varnish-cache/bin/varnishhist/varnishhist.c
Log:
Remember to open the shmlog


Modified: trunk/varnish-cache/bin/varnishhist/varnishhist.c
===================================================================
--- trunk/varnish-cache/bin/varnishhist/varnishhist.c	2006-08-20 07:27:52 UTC (rev 842)
+++ trunk/varnish-cache/bin/varnishhist/varnishhist.c	2006-08-20 07:32:50 UTC (rev 843)
@@ -116,6 +116,9 @@
 		}
 	}
 
+	if (VSL_OpenLog(vd))
+		exit (1);
+
 	c_hist = 10.0 / log(10.0);
 	initscr();
 	erase();




More information about the varnish-commit mailing list