summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-05-08 20:24:01 +0000
committermillert <millert@openbsd.org>2016-05-08 20:24:01 +0000
commit71130655b50766c24bd3fc5e958e5ed51ff7383f (patch)
treedafd8b2c31f08c8e8594c02d869fffad3702d048
parentAdd DMA support. It uses ADMA2 "Internal DMA" that is compatible with the (diff)
downloadwireguard-openbsd-71130655b50766c24bd3fc5e958e5ed51ff7383f.tar.xz
wireguard-openbsd-71130655b50766c24bd3fc5e958e5ed51ff7383f.zip
The "loop detected" message should not print the errno string.
OK gilles@
-rw-r--r--usr.sbin/smtpd/smtp_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 78552b9088f..2146037c532 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.269 2016/03/25 15:06:58 krw Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.270 2016/05/08 20:24:01 millert Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -2579,7 +2579,7 @@ smtp_filter_dataline(struct smtp_session *s, const char *line)
s->rcvcount++;
if (s->rcvcount == MAX_HOPS_COUNT) {
s->msgflags |= MF_ERROR_LOOP;
- log_warn("warn: loop detected");
+ log_warnx("warn: loop detected");
return;
}