[master] 6017d5f Fix typo

Guillaume Quintard guillaume at varnish-software.com
Tue Feb 14 15:10:06 CET 2017


commit 6017d5f53d932b24eaa16a2f9e4314a081ca1c20
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Tue Feb 14 15:09:08 2017 +0100

    Fix typo

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index a692953..ed4a9de 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -2161,7 +2161,7 @@ cmd_rxcont(CMD_ARGS)
 	while (*++av)
 		if (!strcmp(*av, "-some")) {
 			STRTOU32(times, *av, p, vl, "-some");
-			if (time <= 0)
+			if (times <= 0)
 				vtc_fatal(vl, "-some argument must be more"
 					       "than 0 (found \"%s\")\n", *av);
 		} else if (!strcmp(*av, "-all"))
@@ -2211,7 +2211,7 @@ cmd_rxdata(CMD_ARGS)
 	while (*++av)
 		if (!strcmp(*av, "-some")) {
 			STRTOU32(times, *av, p, vl, "-some");
-			if (time <= 0)
+			if (times <= 0)
 				vtc_fatal(vl, "-some argument must be more"
 					       "than 0 (found \"%s\")\n", *av);
 		} else if (!strcmp(*av, "-all"))



More information about the varnish-commit mailing list