[4.0] f1851f9 Drop obsolete VSM_Open

Tollef Fog Heen tfheen at varnish-software.com
Thu Mar 13 10:24:22 CET 2014


commit f1851f9e19fea8677ec961ec3f2a774588cfb35a
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Jan 30 08:09:16 2014 +0100

    Drop obsolete VSM_Open
    
    This is no longer needed and breaks -n

diff --git a/bin/varnishtop/varnishtop.c b/bin/varnishtop/varnishtop.c
index 23fcdec..fbc8dc8 100644
--- a/bin/varnishtop/varnishtop.c
+++ b/bin/varnishtop/varnishtop.c
@@ -350,11 +350,6 @@ main(int argc, char **argv)
 		}
 	}
 
-	if (VSM_Open(vd)) {
-		fprintf(stderr, "%s\n", VSM_Error(vd));
-		exit (1);
-	}
-
 	VUT.dispatch_f = &accumulate;
 	VUT.dispatch_priv = NULL;
 	if (!once){



More information about the varnish-commit mailing list