[master] 2a24ffb4c Revert "Missing null check"
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Apr 30 08:19:07 UTC 2019
commit 2a24ffb4c0a8842f116dd8445a032e3fe67908fb
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Apr 30 10:17:33 2019 +0200
Revert "Missing null check"
This reverts commit 3648ab6273687f0b9df0ea0e263c6a182370d313.
I didn't notice the null check added after REPLACE in the mean time.
diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index 42006ef3d..41baa8803 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -1518,7 +1518,6 @@ cmd_tx11obj(CMD_ARGS)
else if (CMD_IS("txreq") || CMD_IS("txresp")) {
if (AV_IS("-body")) {
AZ(body);
- AN(av[1]);
REPLACE(body, av[1]);
AN(body);
bodylen = strlen(body);
More information about the varnish-commit
mailing list