The lower function doesn't have the prefix.

Signed-off-by: Andreas Schneider <mail@cynapses.org>
This commit is contained in:
Patrick Spendrin
2010-05-08 18:36:57 +02:00
committed by Andreas Schneider
parent 4bfe7f024c
commit df5a94d445

View File

@@ -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);