If LIBSSH2DEBUG was defined "i" was undefined
This commit is contained in:
parent
61db4f3e2a
commit
df7eed16dd
@ -318,8 +318,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
|
|||||||
|
|
||||||
/* The fingerprint points to static storage (!), don't free() it. */
|
/* The fingerprint points to static storage (!), don't free() it. */
|
||||||
infof(data, "Fingerprint: ");
|
infof(data, "Fingerprint: ");
|
||||||
for (i = 0; i < 16; i++) {
|
for (rc = 0; rc < 16; rc++) {
|
||||||
infof(data, "%02X ", (unsigned char) fingerprint[i]);
|
infof(data, "%02X ", (unsigned char) fingerprint[rc]);
|
||||||
}
|
}
|
||||||
infof(data, "\n");
|
infof(data, "\n");
|
||||||
#endif /* CURL_LIBSSH2_DEBUG */
|
#endif /* CURL_LIBSSH2_DEBUG */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user