r1597 - trunk/varnish-cache/bin/varnishreplay

des at projects.linpro.no des at projects.linpro.no
Fri Jun 29 12:04:42 CEST 2007


Author: des
Date: 2007-06-29 12:04:41 +0200 (Fri, 29 Jun 2007)
New Revision: 1597

Modified:
   trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
Log:
Simplify.


Modified: trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
===================================================================
--- trunk/varnish-cache/bin/varnishreplay/varnishreplay.c	2007-06-29 10:04:12 UTC (rev 1596)
+++ trunk/varnish-cache/bin/varnishreplay/varnishreplay.c	2007-06-29 10:04:41 UTC (rev 1597)
@@ -501,11 +501,6 @@
 	debug = 0;
 
 	while ((c = getopt(argc, argv, "a:Dr:t:")) != -1) {
-		i = VSL_Arg(vd, c, optarg);
-		if (i < 0)
-			exit (1);
-		if (i > 0)
-			continue;
 		switch (c) {
 		case 'a':
 			address = optarg;




More information about the varnish-commit mailing list