git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
627391c
)
Fix build with DISABLE_EVENTS
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 7 Jun 2024 22:42:02 +0000
(23:42 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 7 Jun 2024 22:42:02 +0000
(23:42 +0100)
src/src/dns.c
patch
|
blob
|
history
diff --git
a/src/src/dns.c
b/src/src/dns.c
index 510011d51ede740c1a33391d8e1f27d959965e9d..538c0c0b44e244f23fc4a771c018a8ccb6de9a48 100644
(file)
--- 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;
}
}