From 314a304b5ff0e129f9ef0fc630d70ff0dcdddbab Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 17 Dec 2014 15:49:24 +0000 Subject: 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(-) (limited to 'usr.sbin') 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; } } -- cgit v1.2.3