summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/deliver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index a6f68825c..b5530bcf7 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -6165,9 +6165,10 @@ else if (system_filter && process_recipients != RECIP_FAIL_TIMEOUT)
if (!tmp)
p->message = string_sprintf("failed to expand \"%s\" as a "
"system filter transport name", tpname);
- if (is_tainted2(tmp, 0, m = string_sprintf("Tainted values '%s' "
- "for transport '%s' as a system filter", tmp, tpname)))
+ { uschar *m;
+ if (m = is_tainted2(tmp, 0, "Tainted values '%s' " "for transport '%s' as a system filter", tmp, tpname))
p->message = m;
+ }
tpname = tmp;
}
else