summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2019-08-29 07:23:19 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2019-08-29 07:23:19 +0000
commitd9eb5a0cb5e3032f196c1196310e2c07b988708a (patch)
tree7e7e683547522055250f99b8802f83f7ca317e96 /usr.sbin
parentbcdc2a1938556dc36050adcfaac05af5b29fd527 (diff)
Comment out the registration of smtp-out events.
These are currently under development and allowing them to be registered might give the wrong idea of them working. OK gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/lka_report.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/lka_report.c b/usr.sbin/smtpd/lka_report.c
index f8e731c33f2..1acaff8107c 100644
--- a/usr.sbin/smtpd/lka_report.c
+++ b/usr.sbin/smtpd/lka_report.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_report.c,v 1.26 2019/08/28 15:50:36 martijn Exp $ */
+/* $OpenBSD: lka_report.c,v 1.27 2019/08/29 07:23:18 martijn Exp $ */
/*
* Copyright (c) 2018 Gilles Chehade <gilles@poolp.org>
@@ -107,10 +107,13 @@ lka_report_register_hook(const char *name, const char *hook)
subsystem = &smtp_in;
hook += 8;
}
+#if 0
+ /* No smtp-out event has been implemented yet */
else if (strncmp(hook, "smtp-out|", 9) == 0) {
subsystem = &smtp_out;
hook += 9;
}
+#endif
else
fatalx("Invalid message direction: %s", hook);