aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames Housley <jim@thehousleys.net>2007-06-18 22:28:40 +0000
committerJames Housley <jim@thehousleys.net>2007-06-18 22:28:40 +0000
commitdf7eed16ddc43255cc1e07dab81ec1e79a44e0fb (patch)
tree77317232638e69b4c610ce6bbe45ca5e07bba839 /lib
parent61db4f3e2ab2a2af28d3ff9019eaf2724ece2319 (diff)
If LIBSSH2DEBUG was defined "i" was undefined
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c4
1 files 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 */