From df7eed16ddc43255cc1e07dab81ec1e79a44e0fb Mon Sep 17 00:00:00 2001 From: James Housley Date: Mon, 18 Jun 2007 22:28:40 +0000 Subject: [PATCH] If LIBSSH2DEBUG was defined "i" was undefined --- lib/ssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ssh.c b/lib/ssh.c index ff6d4e40a..05f101411 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -318,8 +318,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn) /* The fingerprint points to static storage (!), don't free() it. */ infof(data, "Fingerprint: "); - for (i = 0; i < 16; i++) { - infof(data, "%02X ", (unsigned char) fingerprint[i]); + for (rc = 0; rc < 16; rc++) { + infof(data, "%02X ", (unsigned char) fingerprint[rc]); } infof(data, "\n"); #endif /* CURL_LIBSSH2_DEBUG */