Fix the functionality again with hashed host names again.

The breakage came with commit 8b46528c04.
This commit is contained in:
Daniel Stenberg
2009-07-12 00:03:37 +02:00
parent 7eead1461b
commit e5d76b5468

View File

@@ -509,7 +509,6 @@ static int hostline(LIBSSH2_KNOWNHOSTS *hosts,
return rc;
}
host = orig;
memcpy(hostbuf, host, hostlen);
hostbuf[hostlen]=0;