[master] f701705 Typo

Poul-Henning Kamp phk at project.varnish-software.com
Sat Jan 22 21:09:32 CET 2011


commit f7017059b795716894abe58d3f4d9491a54fcf93
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Jan 22 20:09:25 2011 +0000

    Typo

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 00a8a71..8a0bd8a 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -73,7 +73,7 @@ struct http {
 	char			*req[MAX_HDR];
 	char			*resp[MAX_HDR];
 
-	int			gzip_level;
+	int			gziplevel;
 };
 
 #define ONLY_CLIENT(hp, av)						\
@@ -684,7 +684,7 @@ cmd_http_txresp(CMD_ARGS)
 			bodylen = strlen(body);
 			av++;
 		} else if (!strcmp(*av, "-gziplevel")) {
-			hp->gzip_level = strtoul(av[1], NULL, 0);
+			hp->gziplevel = strtoul(av[1], NULL, 0);
 			av++;
 		} else if (!strcmp(*av, "-gziplen")) {
 			assert(body == nullbody);



More information about the varnish-commit mailing list