From d5016469bf802cccc4803e9d6b4577caf4c9a9db Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 16 Nov 2018 10:37:20 +0100 Subject: [PATCH] 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. --- contrib/debug/flags.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/debug/flags.c b/contrib/debug/flags.c index ae885d6d8..545e6c234 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);