]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: connection: reduce the with of the mux dump output
authorWilly Tarreau <w@1wt.eu>
Sat, 9 Apr 2022 09:37:35 +0000 (11:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 9 Apr 2022 09:43:16 +0000 (11:43 +0200)
In "haproxy -vv" we produce a list of available muxes with their
capabilities, but that list is often quite large for terminals due
to excess of spaces, so let's reduce them a bit to make the output
more readable.

src/connection.c

index 7d41471e5ff721d1aa9fd3aba0ef0e2c058194d8..2302fd9ecbd9ff5f8fd28b620cec2617145a5948 100644 (file)
@@ -1605,7 +1605,7 @@ void list_mux_proto(FILE *out)
                else
                        side = "NONE";
 
-               fprintf(out, " %15s : mode=%-10s side=%-8s  mux=%-8s flags=",
+               fprintf(out, " %10s : mode=%-5s side=%-6s mux=%-5s flags=",
                        (proto.len ? proto.ptr : "<default>"), mode, side, item->mux->name);
 
                done = 0;