From 03625c2fefa682f74775abc1e223e17557d58bc7 Mon Sep 17 00:00:00 2001 From: Christophe Deleuze Date: Mon, 18 Dec 2023 11:13:30 +0100 Subject: [PATCH] Fix passive mode for tnftp client in ange-ftp.el. * lisp/net/ange-ftp.el (ange-ftp-passive-mode): Fix passive mode result string for tnftp client. (Bug#67865) Copyright-paperwork-exempt: yes --- lisp/net/ange-ftp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 4bf87c14f31..b8e8c3f0c33 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el @@ -2164,7 +2164,7 @@ Create a new process if needed." proc))) (defun ange-ftp-passive-mode (proc on-or-off) - (if (string-match (concat "Passive mode " on-or-off) + (if (string-match (concat "Passive mode:? " on-or-off) (cdr (ange-ftp-raw-send-cmd proc (concat "passive " on-or-off) "Trying passive mode..." nil))) -- 2.39.2