From fdcd2747918cea5da4afda17b11637c67f4dc15a Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 25 Jul 2016 15:17:02 +0100 Subject: debug: prettify expansion condition trace output --- src/src/expand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/src/expand.c b/src/src/expand.c index a0b36f7e2..2c23f13e4 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -4105,8 +4105,9 @@ while (*s != 0) if (next_s == NULL) goto EXPAND_FAILED; /* message already set */ DEBUG(D_expand) - debug_printf("condition: %.*s\n result: %s\n", (int)(next_s - s), s, - cond? "true" : "false"); + debug_printf(" condition: %.*s\n result: %s\n", + (int)(next_s - s), s, + cond ? "true" : "false"); s = next_s; -- cgit v1.2.3