summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-10-09 02:25:31 -0400
committerPhil Pennock <pdp@exim.org>2011-10-09 02:25:31 -0400
commitb5eb014fe1c11eb3608d14a21181f245161416ae (patch)
tree715179a66196ecaa3a3b0ce1f608b565266d0a80
parenta7ee59558e5cf70be000dbf421d69fb6c8c171c4 (diff)
fix unprotected variable in SQL example
-rw-r--r--doc/doc-docbook/spec.xfpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 530d9e3c4..688f55465 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -7779,7 +7779,7 @@ pattern must be an appropriate query for the lookup type, as described in
chapter &<<CHAPfdlookup>>&. For example:
.code
hold_domains = mysql;select domain from holdlist \
- where domain = '$domain';
+ where domain = '${quote_mysql:$domain}';
.endd
In most cases, the data that is looked up is not used (so for an SQL query, for
example, it doesn't matter what field you select). Exim is interested only in