1
1

Fix the functionality again with hashed host names again.

The breakage came with commit 8b46528c0476af50a43b6e619f2db318a0cad194.
Этот коммит содержится в:
Daniel Stenberg 2009-07-12 00:03:37 +02:00
родитель 7eead1461b
Коммит e5d76b5468

Просмотреть файл

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