artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7fcc0d
)
Use log_warnx() not log_warn() for mail loop warning since errno
author
millert
<millert@openbsd.org>
Wed, 17 Dec 2014 15:49:23 +0000
(15:49 +0000)
committer
millert
<millert@openbsd.org>
Wed, 17 Dec 2014 15:49:23 +0000
(15:49 +0000)
is not set. OK gilles@
usr.sbin/smtpd/smtp_session.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/smtp_session.c
b/usr.sbin/smtpd/smtp_session.c
index
389942b
..
3173c5b
100644
(file)
--- a/
usr.sbin/smtpd/smtp_session.c
+++ b/
usr.sbin/smtpd/smtp_session.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: smtp_session.c,v 1.22
0 2014/11/02 21:46:03 gilles Exp $
*/
+/* $OpenBSD: smtp_session.c,v 1.22
1 2014/12/17 15:49:23 millert Exp $
*/
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-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_warn
x
("warn: loop detected");
return;
}
}