summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-02-12 21:49:36 -0500
committerPhil Pennock <pdp@exim.org>2011-02-12 21:49:36 -0500
commitb72aab7255159ea38ddcd7eef1051da0f07a7b8d (patch)
tree9798995b54439aa3a396ec71e5ac7e7103a2fc67 /src
parentba41f854dbd18de752007eda385de12aa1fc4afb (diff)
Escape lookup deferral error message when logging.
closes bug 1083 Patch from John Horne.
Diffstat (limited to 'src')
-rw-r--r--src/src/expand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index 702faabe8..287129c2f 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -3675,8 +3675,8 @@ while (*s != 0)
if (search_find_defer)
{
expand_string_message =
- string_sprintf("lookup of \"%s\" gave DEFER: %s", key,
- search_error_message);
+ string_sprintf("lookup of \"%s\" gave DEFER: %s",
+ string_printing2(key, FALSE), search_error_message);
goto EXPAND_FAILED;
}
if (expand_setup > 0) expand_nmax = expand_setup;