[master] 281cb6e62 vtc_http2: Rename enum h2_type to match convention

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Jan 31 11:47:06 UTC 2023


commit 281cb6e6208559ad18d75a894f1b318f99b1acdb
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jan 31 10:42:54 2023 +0100

    vtc_http2: Rename enum h2_type to match convention

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index 04389d25f..6a9a4de03 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -77,7 +77,7 @@ enum h2_settings_e {
 };
 
 
-enum h2_type {
+enum h2_type_e {
 #define H2_FRAME(l,u,t,f,...) TYPE_##u = t,
 #include <tbl/h2_frames.h>
 	TYPE_MAX
@@ -2169,7 +2169,7 @@ cmd_rxhdrs(CMD_ARGS)
 	int loop = 0;
 	unsigned long int times = 1;
 	unsigned rcv = 0;
-	enum h2_type expect = TYPE_HEADERS;
+	enum h2_type_e expect = TYPE_HEADERS;
 
 	CAST_OBJ_NOTNULL(s, priv, STREAM_MAGIC);
 
@@ -2365,7 +2365,7 @@ cmd_rxpush(CMD_ARGS)
 	int loop = 0;
 	unsigned long int times = 1;
 	unsigned rcv = 0;
-	enum h2_type expect = TYPE_PUSH_PROMISE;
+	enum h2_type_e expect = TYPE_PUSH_PROMISE;
 
 	CAST_OBJ_NOTNULL(s, priv, STREAM_MAGIC);
 


More information about the varnish-commit mailing list