]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl: remove poorly readable nested ternary
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 14 Aug 2020 13:30:13 +0000 (15:30 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 14 Aug 2020 13:47:48 +0000 (15:47 +0200)
commit5b1d1f6e0f2e6b777576aafd0d83e4a91677e36d
treea5e9951927561592b5ad3a3bcf12b0979ddf2778
parent94bd319b264a64f73202a82bdd2d0bcf23722246
CLEANUP: ssl: remove poorly readable nested ternary

Replace a four level nested ternary expression by an if/else expression
in ssl_sock_switchctx_cbk()
src/ssl_sock.c