diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-12 09:24:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-12 09:24:05 +0000 |
commit | 3c71a1bab77be5e687699fa2735a8673ee96d62d (patch) | |
tree | 752185c4cf2ed4c3248715029e8c37284ded225f | |
parent | 3ec322685bbb3e23b53edbb45ddf5d2eb5358c11 (diff) |
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
-rw-r--r-- | lib/ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]; |