Gitweb:
https://git.exim.org/exim.git/commitdiff/04c21a8fe3b5027b7430cc9c706196733426bfa6
Commit: 04c21a8fe3b5027b7430cc9c706196733426bfa6
Parent: 627391cbcaf3376e201be3ab2815b5abc560ce0c
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Jun 7 23:42:02 2024 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Fri Jun 7 23:42:02 2024 +0100
Fix build with DISABLE_EVENTS
---
src/src/dns.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/src/dns.c b/src/src/dns.c
index 510011d51..538c0c0b4 100644
--- a/src/src/dns.c
+++ b/src/src/dns.c
@@ -1135,6 +1135,7 @@ errstr = US"cname_loop";
not_good:
{
+#ifndef DISABLE_EVENTS
const uschar * s = NULL;
BOOL save_flag = f.search_find_defer;
uschar * save_serr = search_error_message;
@@ -1167,6 +1168,7 @@ not_good:
/*XXX what other state could an expansion in the eventhandler mess up? */
search_error_message = save_serr;
f.search_find_defer = save_flag;
+#endif /*EVENTS*/
return rc;
}
}
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/