CLEANUP: muxes: Remove useless if condition in show_fd function
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Feb 2021 09:06:29 +0000 (10:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Feb 2021 13:13:22 +0000 (14:13 +0100)
commit70da107df31963cd33d8ae3c614e3a62d74b8947
treef8cfd037317ae81822e4f8a262bad56de84d4ec5
parentb77cb98b780d4bdd9eb9ebf62a75cefbf21d4103
CLEANUP: muxes: Remove useless if condition in show_fd function

In H1, H2 and FCGI muxes, in the show_fd function, there is duplicated test on
the stream's subs field.

This patch fixes the issue #1142. It may be backported as far as 2.2.

(cherry picked from commit 6c93c4ef089fc79ce4e85fa0d9e7f61720291dba)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c