oops, fixed build when CURL_LIBSSH2_DEBUG is defined

This commit is contained in:
Daniel Stenberg 2007-11-12 09:24:05 +00:00
parent 3ec322685b
commit 3c71a1bab7

View File

@ -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];