From: Christopher Faulet Date: Mon, 14 Sep 2026 07:02:22 +0000 (+0200) Subject: CLEANUP: stream: Remove an excess newline in the stream dump X-Git-Tag: v3.5-dev7~16 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=119c9e7158a72c864a313d81192c26b3a9912f8b;p=haproxy.git CLEANUP: stream: Remove an excess newline in the stream dump When the function dumping a stream was update by the commit c044fdbf4 ("BUG/MINOR: stream/debug: harden the stream dump function regarding signals"), an extra newline character was forgotten. Let's remove it. This patch must be backported with the commit above. --- diff --git a/src/stream.c b/src/stream.c index d2e3a7099..cbb598608 100644 --- a/src/stream.c +++ b/src/stream.c @@ -3696,7 +3696,7 @@ static void __strm_dump_to_buffer(struct buffer *buf, const struct show_sess_ctx sdf && sc_ep_snd_ex(scf) ? human_time(TICKS_TO_MS(sc_ep_snd_ex(scf) - now_ms), TICKS_TO_MS(1000)) : ""); chunk_appendf(buf, " rto=%s", sdf && tick_isset(sdf->lra) ? human_time(TICKS_TO_MS(tick_add(sdf->lra, scf->ioto) - now_ms), TICKS_TO_MS(1000)) : ""); - chunk_appendf(buf, " wto=%s\n", + chunk_appendf(buf, " wto=%s", sdf && tick_isset(sdf->fsb) ? human_time(TICKS_TO_MS(tick_add(sdf->fsb, scf->ioto) - now_ms), TICKS_TO_MS(1000)) : ""); }