git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632b9f8
)
Add debug for lookup ret=key
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 15 May 2020 13:15:10 +0000
(14:15 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 15 May 2020 13:15:10 +0000
(14:15 +0100)
src/src/search.c
patch
|
blob
|
history
diff --git
a/src/src/search.c
b/src/src/search.c
index 94a58897f787da0115b9d6ef225f27de6b1083f5..f8aaacb04fd194bf9b74f5ff3f376dd8148c0952 100644
(file)
--- a/
src/src/search.c
+++ b/
src/src/search.c
@@
-846,10
+846,13
@@
it have been validated by the lookup. */
if (yield && opts)
{
int sep = ',';
- uschar * ele;
- while ((ele = string_nextinlist(&opts, &sep, NULL, 0)))
+ for (uschar * ele; ele = string_nextinlist(&opts, &sep, NULL, 0); )
if (Ustrcmp(ele, "ret=key") == 0)
- { yield = string_copy_taint(keystring, FALSE); break; }
+ {
+ DEBUG(D_lookup) debug_printf_indent("lookup ret=key: %s\n", keystring);
+ yield = string_copy_taint(keystring, FALSE);
+ break;
+ }
}
return yield;