From 3c71a1bab77be5e687699fa2735a8673ee96d62d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Nov 2007 09:24:05 +0000 Subject: oops, fixed build when CURL_LIBSSH2_DEBUG is defined --- lib/ssh.c | 8 ++++---- 1 file 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]; -- cgit v1.2.3