[PATCH] Fix typos in sshbuf.c

Tobias Stoeckmann tobias at stoeckmann.org
Wed Aug 14 03:05:40 AEST 2024


This patch fixes two spelling mistakes in code comments,
which means no functional change:

still-extant -> still-existant
the -> then

Okay?

Index: sshbuf.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sshbuf.c,v
diff -u -p -u -p -r1.19 sshbuf.c
--- sshbuf.c	2 Dec 2022 04:40:27 -0000	1.19
+++ sshbuf.c	13 Aug 2024 16:39:12 -0000
@@ -168,8 +168,8 @@ sshbuf_free(struct sshbuf *buf)
 		return;

 	/*
-	 * If we are a parent with still-extant children, then don't free just
-	 * yet. The last child's call to sshbuf_free should decrement our
+	 * If we are a parent with still-existant children, then don't free
+	 * just yet. The last child's call to sshbuf_free should decrement our
 	 * refcount to 0 and trigger the actual free.
 	 */
 	buf->refcount--;
@@ -177,7 +177,7 @@ sshbuf_free(struct sshbuf *buf)
 		return;

 	/*
-	 * If we are a child, the free our parent to decrement its reference
+	 * If we are a child, then free our parent to decrement its reference
 	 * count and possibly free it.
 	 */
 	sshbuf_free(buf->parent);


More information about the openssh-unix-dev mailing list