]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: grammar and typos in comments
authordjm@openbsd.org <djm@openbsd.org>
Tue, 2 Sep 2025 09:34:48 +0000 (09:34 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 2 Sep 2025 09:36:41 +0000 (19:36 +1000)
OpenBSD-Commit-ID: de954daffcd0147ce142d55e8a374810cd19d7ed

log.c
misc.c
scp.c
sftp.c

diff --git a/log.c b/log.c
index 6617f26726bccb69e88dd53675478749bba48640..5969c4a16392fed918c67359dc2892952d6a8eae 100644 (file)
--- 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 <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, 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 9ed51a97039e55cc7f756eb9f0316cd206a4021b..5c384c63d6739eeaaf10c6de1f3574e4d4adea7d 100644 (file)
--- 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 ab8ab22950ca13cf67904ac22b6f23c46bdaf410..3cdbb7bd8283936ad8e8e42717353bbe2774f2f0 100644 (file)
--- 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 bdedd14163ba2d7c46c1eafc237ac4e583461bf5..6e3cf7054a400e3224f390ebc4880a2d29dca576 100644 (file)
--- 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 <djm@openbsd.org>
  *
@@ -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 *