summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 11:05:13 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 11:05:13 +0000
commite7577bed2850fc2d19584abf6ce5b45cfdb434fb (patch)
treed42f082a998936e15c5a5b1d7f7b703b739c1e37 /usr.sbin
parent4c2cd33afdf0d2e8acca4e02ad1b41b39adbc33a (diff)
Better errors.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/mta.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 995d090ce49..51cf24721da 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.88 2010/05/31 23:38:56 jacekm Exp $ */
+/* $OpenBSD: mta.c,v 1.89 2010/06/01 11:05:12 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -380,7 +380,7 @@ mta_enter_state(struct mta_session *s, int newstate, void *p)
if (connect(s->fd, sa, sa->sa_len) == -1) {
if (errno != EINPROGRESS) {
- mta_status(s, "110 connect error: %s",
+ mta_status(s, "110 connect: %s",
strerror(errno));
close(s->fd);
continue;
@@ -530,7 +530,7 @@ mta_pickup(struct mta_session *s, void *p)
/* Remote accepted/rejected connection. */
error = session_socket_error(s->fd);
if (error) {
- mta_status(s, "110 connect error: %s", strerror(error));
+ mta_status(s, "110 connect: %s", strerror(error));
close(s->fd);
mta_enter_state(s, MTA_CONNECT, NULL);
} else