port computation bug. (Bug#8618)
+2011-05-05 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
+ port computation bug. (Bug#8618)
+
2011-05-05 Glenn Morris <rgm@gnu.org>
* allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
(setq host (tramp-file-name-host v)
port "")
(when (string-match tramp-host-with-port-regexp host)
- (setq host (string-to-number (match-string 1 host))
- port (string-to-number (match-string 2 host))))
+ (setq port (string-to-number (match-string 2 host))
+ host (string-to-number (match-string 1 host))))
;; Compose copy command.
(setq spec (format-spec-make