summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2019-05-14 12:08:55 +0000
committerEric Faurot <eric@cvs.openbsd.org>2019-05-14 12:08:55 +0000
commit4b0b6978959087ad2a80351b8d7331495b6657fa (patch)
tree3bcee98ccf37cb06d9b146dc9769f67592bf2358 /usr.sbin
parentb9928460b0dba592eee4faf6c7bccf88631254fd (diff)
fix typos in log messages
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtp_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtp_client.c b/usr.sbin/smtpd/smtp_client.c
index f2113af2ab4..a6e70de5334 100644
--- a/usr.sbin/smtpd/smtp_client.c
+++ b/usr.sbin/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: