From e5d76b5468e49ae1d6a6cd034f366ac1370f5ebb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 12 Jul 2009 00:03:37 +0200 Subject: [PATCH] Fix the functionality again with hashed host names again. The breakage came with commit 8b46528c0476af50a43b6e619f2db318a0cad194. --- src/knownhost.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/knownhost.c b/src/knownhost.c index 300a4f0..80f869e 100644 --- a/src/knownhost.c +++ b/src/knownhost.c @@ -509,7 +509,6 @@ static int hostline(LIBSSH2_KNOWNHOSTS *hosts, return rc; } - host = orig; memcpy(hostbuf, host, hostlen); hostbuf[hostlen]=0;