summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-11-07 17:45:02 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-11-07 17:45:02 +0000
commite1994194774e25d9c29f0e372a1034c923d59e8d (patch)
treeef8b22330b8cf9ce28ff813b04736793fdcf1585 /usr.sbin
parent0b932c17af4bd008585d585db5953474bd8caf06 (diff)
report "." as a protocol-client event, it is the commit command, not really
part of DATA
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtp_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 7add7e47048..6cbfa84a06a 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.350 2018/11/03 14:53:44 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.351 2018/11/07 17:45:01 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -2379,6 +2379,7 @@ smtp_tx_dataline(struct smtp_tx *tx, const char *line)
log_trace(TRACE_SMTP, "<<< [MSG] %s", line);
if (!strcmp(line, ".")) {
+ smtp_report_protocol_client(tx->session->id, ".");
log_trace(TRACE_SMTP, "<<< [EOM]");
if (tx->error)
return 1;