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:
362b27d
)
Fix DISABLE_EVENTS build
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 5 Aug 2024 21:35:01 +0000
(22:35 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 5 Aug 2024 21:35:01 +0000
(22:35 +0100)
Broken-by: 19c4ea037946
src/src/smtp_in.c
patch
|
blob
|
history
diff --git
a/src/src/smtp_in.c
b/src/src/smtp_in.c
index 076ea423a959d280827ee1484287b6a3895714c8..521bc05aaec2acd889a367d4045b1c81f40b6744 100644
(file)
--- a/
src/src/smtp_in.c
+++ b/
src/src/smtp_in.c
@@
-2765,9
+2765,11
@@
synprot_error(int type, int code, uschar *data, uschar *errmess)
{
int yield = -1;
{
int yield = -1;
+#ifndef DISABLE_EVENT
event_raise(event_action,
L_smtp_syntax_error ? US"smtp:fail:syntax" : US"smtp:fail:protocol",
errmess, NULL);
event_raise(event_action,
L_smtp_syntax_error ? US"smtp:fail:syntax" : US"smtp:fail:protocol",
errmess, NULL);
+#endif
log_write(type, LOG_MAIN, "SMTP %s error in \"%s\" %s %s",
type == L_smtp_syntax_error ? "syntax" : "protocol",
log_write(type, LOG_MAIN, "SMTP %s error in \"%s\" %s %s",
type == L_smtp_syntax_error ? "syntax" : "protocol",