From: op Date: Tue, 3 Sep 2024 18:27:04 +0000 (+0000) Subject: fix some typos; courtesy of codespell; ok gilles@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ad8d242dc7ca593f1fe13645fd97cf16ba39bc1c;p=openbsd fix some typos; courtesy of codespell; ok gilles@ --- diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c index f81390d91b6..8aa23779f8f 100644 --- a/usr.sbin/smtpd/mta_session.c +++ b/usr.sbin/smtpd/mta_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta_session.c,v 1.151 2024/01/20 09:01:03 claudio Exp $ */ +/* $OpenBSD: mta_session.c,v 1.152 2024/09/03 18:27:04 op Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard @@ -637,7 +637,7 @@ again: else if (s->relay->secret) { log_debug("debug: mta: %p: not using AUTH on non-TLS " "session", s); - mta_error(s, "Refuse to AUTH over unsecure channel"); + mta_error(s, "Refuse to AUTH over insecure channel"); mta_connect(s); } else { mta_enter_state(s, MTA_READY); diff --git a/usr.sbin/smtpd/scheduler_ramqueue.c b/usr.sbin/smtpd/scheduler_ramqueue.c index 473eb6541e0..47b19877417 100644 --- a/usr.sbin/smtpd/scheduler_ramqueue.c +++ b/usr.sbin/smtpd/scheduler_ramqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scheduler_ramqueue.c,v 1.48 2023/05/31 16:51:46 op Exp $ */ +/* $OpenBSD: scheduler_ramqueue.c,v 1.49 2024/09/03 18:27:04 op Exp $ */ /* * Copyright (c) 2012 Gilles Chehade @@ -846,7 +846,7 @@ rq_queue_merge(struct rq_queue *rq, struct rq_queue *update) while (tree_poproot(&update->messages, &id, (void*)&message)) { if ((tomessage = tree_get(&rq->messages, id)) == NULL) { - /* message does not exist. re-use structure */ + /* message does not exist. reuse structure */ tree_xset(&rq->messages, id, message); continue; } diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index b42a1ef79c1..bde5a35ee7c 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.351 2024/05/07 12:10:06 op Exp $ */ +/* $OpenBSD: smtpd.c,v 1.352 2024/09/03 18:27:04 op Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -1803,7 +1803,7 @@ parent_forward_open(char *username, char *directory, uid_t uid, gid_t gid) } if (!secure_file(fd, pathname, directory, uid, 1)) { - log_warnx("warn: smtpd: %s: unsecure file", pathname); + log_warnx("warn: smtpd: %s: insecure file", pathname); close(fd); return -1; }