From 8b26938eaff2773a2fbfad791eb4a04e0c7c3d01 Mon Sep 17 00:00:00 2001 From: millert Date: Wed, 17 Dec 2014 15:49:23 +0000 Subject: [PATCH] Use log_warnx() not log_warn() for mail loop warning since errno is not set. OK gilles@ --- usr.sbin/smtpd/smtp_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c index 389942bdda7..3173c5b8143 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.220 2014/11/02 21:46:03 gilles Exp $ */ +/* $OpenBSD: smtp_session.c,v 1.221 2014/12/17 15:49:23 millert Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -1810,7 +1810,7 @@ smtp_message_write(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; } } -- 2.20.1