aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-12 09:24:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-12 09:24:05 +0000
commit3c71a1bab77be5e687699fa2735a8673ee96d62d (patch)
tree752185c4cf2ed4c3248715029e8c37284ded225f
parent3ec322685bbb3e23b53edbb45ddf5d2eb5358c11 (diff)
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
-rw-r--r--lib/ssh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 23755be74..faa288e0e 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -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];