diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-19 23:38:45 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-19 23:39:56 +0200 |
commit | 2d7c79af76ea9c35d0ec9512da2211d7aedf2878 (patch) | |
tree | 6059f86fa13e07830267dd1c8eda7e09f4ea32fe /lib/ssh.c | |
parent | 38c5e81a679dc76e1b786085695a68f49adb7efb (diff) | |
download | curl-2d7c79af76ea9c35d0ec9512da2211d7aedf2878.tar.gz |
tcpconnect: follow-up commit after b998d95b
As I modified conn->bits.tcpconnect to become an array that holds one
bool for each potential connection all uses of that struct field must
index it correctly.
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2701,7 +2701,7 @@ CURLcode scp_perform(struct connectdata *conn, result = ssh_easy_statemach(conn, FALSE); *dophase_done = TRUE; /* with the easy interface we are done here */ } - *connected = conn->bits.tcpconnect; + *connected = conn->bits.tcpconnect[FIRSTSOCKET]; if(*dophase_done) { DEBUGF(infof(conn->data, "DO phase is complete\n")); @@ -2908,7 +2908,7 @@ CURLcode sftp_perform(struct connectdata *conn, result = ssh_easy_statemach(conn, FALSE); *dophase_done = TRUE; /* with the easy interface we are done here */ } - *connected = conn->bits.tcpconnect; + *connected = conn->bits.tcpconnect[FIRSTSOCKET]; if(*dophase_done) { DEBUGF(infof(conn->data, "DO phase is complete\n")); |