BUG/MINOR: debug: remove the trailing \n from BUG_ON() statements
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Apr 2025 16:45:35 +0000 (18:45 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 15 Apr 2025 16:37:48 +0000 (18:37 +0200)
commit0a6b58d5b13ffaa89afec0eb581379c560fa7445
treea4648f5d203a8ea8783f1f87bcb86bb28df8860f
parent50838c51a97113d0c9b95d22b4312c9a80a0409d
BUG/MINOR: debug: remove the trailing \n from BUG_ON() statements

These ones were added by mistake during the change of the cfgparse
mechanism in 3.1, but they're corrupting the output of "debug counters"
by leaving stray ']' on their own lines. We could possibly check them
all once at boot but it doens't seem worth it.

This should be backported to 3.1.

(cherry picked from commit 23705564ae1bb95d7721bc921d58c508e76c7070)
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
src/cfgparse-global.c
src/cli.c
src/mworker.c
src/tools.c