[master] d396134 Delete unused fields from the TLV structs.

Geoff Simmons geoff at uplex.de
Wed Mar 14 16:50:10 UTC 2018


commit d3961346254153341c9d38acb29fe808752f8e00
Author: Geoff Simmons <geoff at uplex.de>
Date:   Wed Mar 14 17:49:36 2018 +0100

    Delete unused fields from the TLV structs.

diff --git a/bin/varnishd/proxy/cache_proxy_proto.c b/bin/varnishd/proxy/cache_proxy_proto.c
index 1f9410f..8aea3c7 100644
--- a/bin/varnishd/proxy/cache_proxy_proto.c
+++ b/bin/varnishd/proxy/cache_proxy_proto.c
@@ -160,13 +160,11 @@ struct pp2_tlv {
 	uint8_t type;
 	uint8_t length_hi;
 	uint8_t length_lo;
-	uint8_t value[0];
 }__attribute__((packed));
 
 struct pp2_tlv_ssl {
 	uint8_t  client;
 	uint32_t verify;
-	struct pp2_tlv sub_tlv[0];
 }__attribute__((packed));
 
 static const char vpx2_sig[] = {


More information about the varnish-commit mailing list