mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
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.
This commit is contained in:
parent
38c5e81a67
commit
2d7c79af76
@ -841,7 +841,7 @@ CURLcode imap_perform(struct connectdata *conn,
|
||||
result = imap_easy_statemach(conn);
|
||||
*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"));
|
||||
|
@ -787,7 +787,7 @@ CURLcode pop3_perform(struct connectdata *conn,
|
||||
result = pop3_easy_statemach(conn);
|
||||
*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"));
|
||||
|
@ -1287,7 +1287,7 @@ CURLcode smtp_perform(struct connectdata *conn,
|
||||
result = smtp_easy_statemach(conn);
|
||||
*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"));
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user