diff options
author | 2019-05-14 12:08:54 +0000 | |
---|---|---|
committer | 2019-05-14 12:08:54 +0000 | |
commit | b968de3590866f65287e5cb17f054a2a5a89e030 (patch) | |
tree | 8c311fa7515c0b5f5bf1f04da02cab75919f3565 | |
parent | Fix sizing of main-vertical and main-horizontal layouts, GitHub issue 1736. (diff) | |
download | wireguard-openbsd-b968de3590866f65287e5cb17f054a2a5a89e030.tar.xz wireguard-openbsd-b968de3590866f65287e5cb17f054a2a5a89e030.zip |
fix typos in log messages
-rw-r--r-- | usr.sbin/smtpd/smtp_client.c | 8 |
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: |