The SSH connection class in includes/filetransfer/ssh.inc has the following error message
if (!$this->connection) {
throw new FileTransferException('SSH Connection failed to @host:@port', NULL, array('@host' => $this->hostname, '@port' => 21));
}
Clearly that should be '@port' => $this->port instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1013058-1.patch | 871 bytes | bfroehle |
Comments
Comment #1
bfroehle commentedAnd a patch.
Comment #2
dwwYes it should. Looks great. I can't test but the patch is so trivial and so obviously correct, I'm okay RTBCing anyway.
Thanks!
Comment #3
webchickNice catch!
Committed to HEAD. Thanks!