]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tools: Clean up non-QUIC error message handling in str2sa_range()
authorTim Duesterhus <tim@bastelstu.be>
Sun, 22 May 2022 10:40:58 +0000 (12:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 May 2022 06:45:31 +0000 (08:45 +0200)
commit147eeb2ef3da803537cd09274244ff3349c7f009
treed9ebad32cd2497fe3ef77f473cad2db484bdeea1
parent137c8fde78d83eea4ab4ada8e3a934c08468ca2d
CLEANUP: tools: Clean up non-QUIC error message handling in str2sa_range()

If QUIC support is enabled both branches of the ternary conditional are
identical, upsetting Coverity. Move the full conditional into the non-QUIC
preprocessor branch to make the code more clear.

This resolves GitHub issue #1710.
src/tools.c