From: Willy Tarreau Date: Fri, 16 Nov 2018 09:37:20 +0000 (+0100) Subject: CONTRIB: debug: fix build related to conn_stream flags change X-Git-Tag: v1.9-dev7~120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5016469bf802cccc4803e9d6b4577caf4c9a9db;p=thirdparty%2Fhaproxy.git CONTRIB: debug: fix build related to conn_stream flags change Commit 53216e7db ("MEDIUM: connections: Don't directly mess with the polling from the upper layers.") removed the CS_FL_DATA_RD_ENA and CS_FL_DATA_WR_ENA flags without updating flags.c, thus breaking the build. This patch also adds flag CL_FL_NOT_FIRST which was brought by commit 08088e77c. --- diff --git a/contrib/debug/flags.c b/contrib/debug/flags.c index ae885d6d85..545e6c2343 100644 --- a/contrib/debug/flags.c +++ b/contrib/debug/flags.c @@ -156,6 +156,7 @@ void show_cs_flags(unsigned int f) printf("0\n"); return; } + SHOW_FLAG(f, CS_FL_NOT_FIRST); SHOW_FLAG(f, CS_FL_WAIT_FOR_HS); SHOW_FLAG(f, CS_FL_REOS); SHOW_FLAG(f, CS_FL_EOS); @@ -165,8 +166,6 @@ void show_cs_flags(unsigned int f) SHOW_FLAG(f, CS_FL_SHWN); SHOW_FLAG(f, CS_FL_SHRR); SHOW_FLAG(f, CS_FL_SHRD); - SHOW_FLAG(f, CS_FL_DATA_WR_ENA); - SHOW_FLAG(f, CS_FL_DATA_RD_ENA); if (f) { printf("EXTRA(0x%08x)", f);