Skip to content

Commit

Permalink
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Nov 12, 2007
1 parent 3ec3226 commit 3c71a1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ssh.c
Expand Up @@ -1876,11 +1876,11 @@ static CURLcode ssh_connect(struct connectdata *conn, bool *done)
ssh = &conn->proto.sshc;

#ifdef CURL_LIBSSH2_DEBUG
if(ssh->user) {
infof(data, "User: %s\n", ssh->user);
if(conn->user) {
infof(data, "User: %s\n", conn->user);
}
if(ssh->passwd) {
infof(data, "Password: %s\n", ssh->passwd);
if(conn->passwd) {
infof(data, "Password: %s\n", conn->passwd);
}
#endif /* CURL_LIBSSH2_DEBUG */
sock = conn->sock[FIRSTSOCKET];
Expand Down

0 comments on commit 3c71a1b

Please sign in to comment.