[master] 4ff7beb Check VSB_finish return

Guillaume Quintard guillaume at varnish-software.com
Thu Sep 8 12:22:12 CEST 2016


commit 4ff7bebc6dcd3f65e89b2da40e7b9fefbf0d5f22
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Thu Sep 8 12:14:15 2016 +0200

    Check VSB_finish return

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index 962eccd..0ffaf7f 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -789,7 +789,7 @@ receive_frame(void *priv)
 				parse_hdr(s, f, vsb);
 				if (f->flags & END_HEADERS) {
 					expect_cont = 0;
-					VSB_finish(vsb);
+					AZ(VSB_finish(vsb));
 					decode_hdr(hp, hdrs, vsb);
 					VSB_destroy(&vsb);
 					hdrs = NULL;



More information about the varnish-commit mailing list