From: djm@openbsd.org Date: Tue, 2 Sep 2025 09:34:48 +0000 (+0000) Subject: upstream: grammar and typos in comments X-Git-Tag: V_10_1_P1~133 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a0b095fa03d3c08d723a803ce25540fddd955c53;p=thirdparty%2Fopenssh-portable.git upstream: grammar and typos in comments OpenBSD-Commit-ID: de954daffcd0147ce142d55e8a374810cd19d7ed --- diff --git a/log.c b/log.c index 6617f2672..5969c4a16 100644 --- a/log.c +++ b/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.64 2024/12/07 10:05:36 djm Exp $ */ +/* $OpenBSD: log.c,v 1.65 2025/09/02 09:34:48 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -502,7 +502,7 @@ sshlogdirect(LogLevel level, int forced, const char *fmt, ...) * To prevent flipping in and out of rate-limiting, there is a hysteresis * timer that delays leaving the rate-limited state. * - * While in the rate-limited state, events can be periodically allowed though + * While in the rate-limited state, events can be periodically allowed through * and the number of dropped events since the last log obtained. * * XXX a moving average rate of events might be a better approach here rather diff --git a/misc.c b/misc.c index 9ed51a970..5c384c63d 100644 --- a/misc.c +++ b/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.203 2025/08/18 03:43:01 djm Exp $ */ +/* $OpenBSD: misc.c,v 1.204 2025/09/02 09:34:48 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005-2020 Damien Miller. All rights reserved. @@ -487,7 +487,7 @@ strdelim_internal(char **s, int split_equals) } /* - * Return next token in configuration line; splts on whitespace or a + * Return next token in configuration line; splits on whitespace or a * single '=' character. */ char * diff --git a/scp.c b/scp.c index ab8ab2295..3cdbb7bd8 100644 --- a/scp.c +++ b/scp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scp.c,v 1.264 2025/05/23 09:26:25 dtucker Exp $ */ +/* $OpenBSD: scp.c,v 1.265 2025/09/02 09:34:48 djm Exp $ */ /* * scp - secure remote copy. This is basically patched BSD rcp which * uses ssh to do the data transfer (instead of using rcmd). @@ -172,7 +172,7 @@ int throughlocal = 1; /* Non-standard port to use for the ssh connection or -1. */ int sshport = -1; -/* This is the program to execute for the secured connection. ("ssh" or -S) */ +/* This is the program to execute for the secure connection. ("ssh" or -S) */ char *ssh_program = _PATH_SSH_PROGRAM; /* This is used to store the pid of ssh_program */ diff --git a/sftp.c b/sftp.c index bdedd1416..6e3cf7054 100644 --- a/sftp.c +++ b/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.240 2025/03/28 06:04:07 dtucker Exp $ */ +/* $OpenBSD: sftp.c,v 1.241 2025/09/02 09:34:48 djm Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -1865,7 +1865,7 @@ complete_display(char **list, u_int len) /* * Given a "list" of words that begin with a common prefix of "word", - * attempt to find an autocompletion to extends "word" by the next + * attempt to find an autocompletion that extends "word" by the next * characters common to all entries in "list". */ static char *