[master] 62c3d56 Drop support for -msg

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Oct 13 15:43:05 CEST 2016


commit 62c3d56214e1f3fee8bbf81ae8180ddb6b61e1a5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Sep 21 14:59:59 2016 +0200

    Drop support for -msg

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 0894f81..e691198 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -948,9 +948,6 @@ http_tx_parse_args(char * const *av, struct vtclog *vl, struct http *hp,
  *         \-reason STRING (txresp only)
  *                 What message to put in the status line (default: "OK").
  *
- *         \-msg STRING (txresp only)
- *                 An alias to -reason.
- *
  *         These three switches can appear in any order but must come before the
  *         following ones.
  *
@@ -1013,7 +1010,7 @@ cmd_http_txresp(CMD_ARGS)
 		} else if (!strcmp(*av, "-status")) {
 			status = av[1];
 			av++;
-		} else if (!strcmp(*av, "-reason") || !strcmp(*av, "-msg")) {
+		} else if (!strcmp(*av, "-reason")) {
 			reason = av[1];
 			av++;
 			continue;



More information about the varnish-commit mailing list