diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-26 14:47:11 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-26 14:47:11 +0100 |
commit | 05e796adcdbe76f643bf938226b0d3c75efd95e6 (patch) | |
tree | f66ab0950d263bf9654f982c7468b5b063c1d2d3 /src | |
parent | 3a40b2f9648ce9737b3f8f542e5079e58c4db3c3 (diff) |
Debug: add trace in the inlist expansion condition
Diffstat (limited to 'src')
-rw-r--r-- | src/src/expand.c | 5 | ||||
-rw-r--r-- | src/src/tls-openssl.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/src/expand.c b/src/src/expand.c index bae3114a6..28d12d4d4 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -2821,18 +2821,21 @@ switch(cond_type) uschar *save_iterate_item = iterate_item; int (*compare)(const uschar *, const uschar *); - DEBUG(D_expand) debug_printf_indent("condition: %s\n", name); + DEBUG(D_expand) debug_printf_indent("condition: %s item: %s\n", name, sub[0]); tempcond = FALSE; compare = cond_type == ECOND_INLISTI ? strcmpic : (int (*)(const uschar *, const uschar *)) strcmp; while ((iterate_item = string_nextinlist(&list, &sep, NULL, 0))) + { + DEBUG(D_expand) debug_printf_indent(" compare %s\n", iterate_item); if (compare(sub[0], iterate_item) == 0) { tempcond = TRUE; break; } + } iterate_item = save_iterate_item; } diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 6f10cf5f7..58401e932 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -29,7 +29,7 @@ functions from the OpenSSL library. */ # include <openssl/ocsp.h> #endif #ifdef EXPERIMENTAL_DANE -# include <danessl.h> +# include "danessl.h" #endif |