diff options
| author | James Housley <jim@thehousleys.net> | 2007-06-18 22:28:40 +0000 | 
|---|---|---|
| committer | James Housley <jim@thehousleys.net> | 2007-06-18 22:28:40 +0000 | 
| commit | df7eed16ddc43255cc1e07dab81ec1e79a44e0fb (patch) | |
| tree | 77317232638e69b4c610ce6bbe45ca5e07bba839 /lib | |
| parent | 61db4f3e2ab2a2af28d3ff9019eaf2724ece2319 (diff) | |
If LIBSSH2DEBUG was defined "i" was undefined
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ssh.c | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -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 */  | 
