mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
The lower function doesn't have the prefix.
Signed-off-by: Andreas Schneider <mail@cynapses.org>
This commit is contained in:
committed by
Andreas Schneider
parent
4bfe7f024c
commit
df5a94d445
@@ -1687,7 +1687,7 @@ int ssh_write_knownhost(ssh_session session) {
|
|||||||
return SSH_ERROR;
|
return SSH_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
host = ssh_lowercase(session->host);
|
host = lowercase(session->host);
|
||||||
/* If using a nonstandard port, save the host in the [host]:port format */
|
/* If using a nonstandard port, save the host in the [host]:port format */
|
||||||
if(session->port != 22){
|
if(session->port != 22){
|
||||||
hostport = ssh_hostport(host,session->port);
|
hostport = ssh_hostport(host,session->port);
|
||||||
|
|||||||
Reference in New Issue
Block a user