Module Name:    src
Committed By:   andvar
Date:           Fri Feb  9 20:55:15 UTC 2024

Modified Files:
        src/usr.sbin/faithd: ftp.c

Log Message:
s/connetion/connection/ in messages.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/faithd/ftp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/faithd/ftp.c
diff -u src/usr.sbin/faithd/ftp.c:1.19 src/usr.sbin/faithd/ftp.c:1.20
--- src/usr.sbin/faithd/ftp.c:1.19	Fri Nov 26 18:58:43 2010
+++ src/usr.sbin/faithd/ftp.c	Fri Feb  9 20:55:15 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftp.c,v 1.19 2010/11/26 18:58:43 christos Exp $	*/
+/*	$NetBSD: ftp.c,v 1.20 2024/02/09 20:55:15 andvar Exp $	*/
 /*	$KAME: ftp.c,v 1.23 2003/08/19 21:20:33 itojun Exp $	*/
 
 /*
@@ -422,7 +422,7 @@ ftp_copyresult(int src, int dst, enum st
 		if (!passivemode && rbuf[0] == '1') {
 			if (ftp_activeconn() < 0) {
 				n = snprintf(rbuf, sizeof(rbuf),
-				    "425 Cannot open data connetion\r\n");
+				    "425 Cannot open data connection\r\n");
 				if (n < 0 || n >= (int)sizeof(rbuf))
 					n = 0;
 			}
@@ -864,7 +864,7 @@ eprtparamfail:
 		*state = NONE;
 		if (ftp_passiveconn() < 0) {
 			return dprintf(src,
-			    "425 Cannot open data connetion\r\n");
+			    "425 Cannot open data connection\r\n");
 		} else {
 			/* simply relay the command */
 			return write(dst, rbuf, (size_t)n);

Reply via email to