From: eric Date: Tue, 14 May 2019 12:08:54 +0000 (+0000) Subject: fix typos in log messages X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b968de3590866f65287e5cb17f054a2a5a89e030;p=openbsd fix typos in log messages --- 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 @@ -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: