aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtp_client.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-05-19 14:25:18 +0200
committerGilles Chehade <gilles@poolp.org>2019-05-19 14:25:18 +0200
commit8619eace4c44f113d592afa401de8820a4f22600 (patch)
treefe4c8f28547c0584dd8b759f42b9d1b5b019600d /smtpd/smtp_client.c
parentsize is never reduced (diff)
downloadOpenSMTPD-8619eace4c44f113d592afa401de8820a4f22600.tar.xz
OpenSMTPD-8619eace4c44f113d592afa401de8820a4f22600.zip
sync with OpenBSD 6.5
Diffstat (limited to 'smtpd/smtp_client.c')
-rw-r--r--smtpd/smtp_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/smtpd/smtp_client.c b/smtpd/smtp_client.c
index f2113af2..a6e70de5 100644
--- a/smtpd/smtp_client.c
+++ b/smtpd/smtp_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_client.c,v 1.8 2018/09/20 11:42:28 eric Exp $ */
+/* $OpenBSD: smtp_client.c,v 1.9 2019/05/14 12:08:54 eric Exp $ */
/*
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
@@ -188,7 +188,7 @@ void
smtp_quit(struct smtp_client *proto)
{
if (proto->state != STATE_READY)
- fatalx("protoection is not ready");
+ fatalx("connection is not ready");
smtp_client_state(proto, STATE_QUIT);
}
@@ -197,7 +197,7 @@ void
smtp_sendmail(struct smtp_client *proto, struct smtp_mail *mail)
{
if (proto->state != STATE_READY)
- fatalx("protoection is not ready");
+ fatalx("connection is not ready");
proto->mail = mail;
smtp_client_state(proto, STATE_MAIL);
@@ -636,7 +636,7 @@ smtp_client_io(struct io *io, int evt, void *arg)
case IO_TIMEOUT:
errno = ETIMEDOUT;
- smtp_client_abort(proto, FAIL_CONN, "protoection timeout");
+ smtp_client_abort(proto, FAIL_CONN, "Connection timeout");
break;
case IO_ERROR: