summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-07-25 15:17:02 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-07-25 15:17:02 +0100
commitfdcd2747918cea5da4afda17b11637c67f4dc15a (patch)
tree45b3eef1d973d961e529a159cb6969db30eff9da /src
parentff5aac2be82177a7c96c71ce7dd0939e70436402 (diff)
debug: prettify expansion condition trace output
Diffstat (limited to 'src')
-rw-r--r--src/src/expand.c5
1 files changed, 3 insertions, 2 deletions
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;