]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Nov 2007 09:24:05 +0000 (09:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Nov 2007 09:24:05 +0000 (09:24 +0000)
lib/ssh.c

index 23755be741301a16005b145259e5ab73bc6dc2da..faa288e0e8d474007fbe40bd02e7ef82ff2f6f39 100644 (file)
--- 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];