oops, fixed build when CURL_LIBSSH2_DEBUG is defined
This commit is contained in:
parent
3ec322685b
commit
3c71a1bab7
@ -1876,11 +1876,11 @@ static CURLcode ssh_connect(struct connectdata *conn, bool *done)
|
|||||||
ssh = &conn->proto.sshc;
|
ssh = &conn->proto.sshc;
|
||||||
|
|
||||||
#ifdef CURL_LIBSSH2_DEBUG
|
#ifdef CURL_LIBSSH2_DEBUG
|
||||||
if(ssh->user) {
|
if(conn->user) {
|
||||||
infof(data, "User: %s\n", ssh->user);
|
infof(data, "User: %s\n", conn->user);
|
||||||
}
|
}
|
||||||
if(ssh->passwd) {
|
if(conn->passwd) {
|
||||||
infof(data, "Password: %s\n", ssh->passwd);
|
infof(data, "Password: %s\n", conn->passwd);
|
||||||
}
|
}
|
||||||
#endif /* CURL_LIBSSH2_DEBUG */
|
#endif /* CURL_LIBSSH2_DEBUG */
|
||||||
sock = conn->sock[FIRSTSOCKET];
|
sock = conn->sock[FIRSTSOCKET];
|
||||||
|
Loading…
Reference in New Issue
Block a user