[exim-cvs] fix unprotected variable in SQL example

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] fix unprotected variable in SQL example
Gitweb: http://git.exim.org/exim.git/commitdiff/b5eb014fe1c11eb3608d14a21181f245161416ae
Commit:     b5eb014fe1c11eb3608d14a21181f245161416ae
Parent:     a7ee59558e5cf70be000dbf421d69fb6c8c171c4
Author:     Phil Pennock <pdp@???>
AuthorDate: Sun Oct 9 02:25:31 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Sun Oct 9 02:25:31 2011 -0400


    fix unprotected variable in SQL example
---
 doc/doc-docbook/spec.xfpt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 530d9e3..688f554 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