Fix the functionality again with hashed host names again.

The breakage came with commit 8b46528c0476af50a43b6e619f2db318a0cad194.
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;