summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2011-09-01 20:17:47 +0000
committergilles <gilles@openbsd.org>2011-09-01 20:17:47 +0000
commit94b7b0c33e7707b3705505dc18b2502d4350be3f (patch)
tree63f28109e4d7f7a965ab5f6bddbc55d9e049bd1b
parentIntroduce a small set of functions to manage stat counters in a (diff)
downloadwireguard-openbsd-94b7b0c33e7707b3705505dc18b2502d4350be3f.tar.xz
wireguard-openbsd-94b7b0c33e7707b3705505dc18b2502d4350be3f.zip
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)