summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-09-01 20:17:48 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-09-01 20:17:48 +0000
commit9cb087883a26872db386c4fd2a2a1770e3ecd71e (patch)
tree925e900daa9fe266b687b6dcd87fa048f0916fd1
parentad47ec1eeb8b886915ea232368f798df48ab734d (diff)
move a log_debug() call to a less annoying spot so that it does not get
called for each single line of DATA exchanged between smtp and mfa
-rw-r--r--usr.sbin/smtpd/smtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c
index 0718ce5b8f9..b2946208075 100644
--- a/usr.sbin/smtpd/smtp.c
+++ b/usr.sbin/smtpd/smtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp.c,v 1.90 2011/09/01 19:56:49 eric Exp $ */
+/* $OpenBSD: smtp.c,v 1.91 2011/09/01 20:17:47 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -83,8 +83,8 @@ smtp_imsg(struct imsgev *iev, struct imsg *imsg)
case IMSG_MFA_HELO:
case IMSG_MFA_MAIL:
case IMSG_MFA_RCPT:
+ log_debug("smtp: got imsg_mfa_helo/mail/rcpt");
case IMSG_MFA_DATALINE:
- log_debug("smtp: got imsg_mfa_helo/mail/rcpt/quit");
ss = imsg->data;
s = session_lookup(ss->id);
if (s == NULL)