diff options
author | Omar Polo <op@cvs.openbsd.org> | 2024-09-03 18:27:05 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2024-09-03 18:27:05 +0000 |
commit | f9fbda689ab60198f910fce10f81af9a7091dfc7 (patch) | |
tree | d7e17f0c7279618963bedc54732af2519b15806a /usr.sbin | |
parent | 7250e1c89930b19ea2c694cb7e0b0be41c0b52f6 (diff) |
fix some typos; courtesy of codespell; ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/mta_session.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/scheduler_ramqueue.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
3 files changed, 6 insertions, 6 deletions
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 <pyr@openbsd.org> @@ -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 <gilles@poolp.org> @@ -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 <gilles@poolp.org> @@ -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; } |