summaryrefslogtreecommitdiffstats
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/keyfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index af748046..eaecc979 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -1687,7 +1687,7 @@ int ssh_write_knownhost(ssh_session session) {
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(session->port != 22){
hostport = ssh_hostport(host,session->port);