]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix passive mode for tnftp client in ange-ftp.el.
authorChristophe Deleuze <christophe.deleuze@free.fr>
Mon, 18 Dec 2023 10:13:30 +0000 (11:13 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 18 Dec 2023 10:13:30 +0000 (11:13 +0100)
* 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

index 4bf87c14f3180f5b3ed6e203764fe9b0e7af002f..b8e8c3f0c33c9340ea40fe03c5135f34e3e9430b 100644 (file)
@@ -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)))