mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
email: Small tidy up following recent changes
This commit is contained in:
parent
9d45391347
commit
764b818934
@ -1245,8 +1245,7 @@ static CURLcode imap_state_fetch_resp(struct connectdata *conn, int imapcode,
|
||||
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, -1, NULL);
|
||||
else
|
||||
/* IMAP download */
|
||||
Curl_setup_transfer(conn, FIRSTSOCKET, size, FALSE, NULL,
|
||||
-1, NULL); /* no upload here */
|
||||
Curl_setup_transfer(conn, FIRSTSOCKET, size, FALSE, NULL, -1, NULL);
|
||||
|
||||
data->req.maxdownload = size;
|
||||
}
|
||||
|
@ -1093,7 +1093,6 @@ static CURLcode pop3_state_command_resp(struct connectdata *conn,
|
||||
{
|
||||
CURLcode result = CURLE_OK;
|
||||
struct SessionHandle *data = conn->data;
|
||||
struct POP3 *pop3 = data->state.proto.pop3;
|
||||
struct pop3_conn *pop3c = &conn->proto.pop3c;
|
||||
struct pingpong *pp = &pop3c->pp;
|
||||
|
||||
@ -1115,8 +1114,7 @@ static CURLcode pop3_state_command_resp(struct connectdata *conn,
|
||||
pop3c->strip = 2;
|
||||
|
||||
/* POP3 download */
|
||||
Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, NULL,
|
||||
-1, NULL); /* no upload here */
|
||||
Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, NULL, -1, NULL);
|
||||
|
||||
if(pp->cache) {
|
||||
/* The header "cache" contains a bunch of data that is actually body
|
||||
|
@ -1100,8 +1100,7 @@ static CURLcode smtp_state_data_resp(struct connectdata *conn, int smtpcode,
|
||||
}
|
||||
|
||||
/* SMTP upload */
|
||||
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */
|
||||
FIRSTSOCKET, NULL);
|
||||
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, FIRSTSOCKET, NULL);
|
||||
|
||||
/* End of do phase */
|
||||
state(conn, SMTP_STOP);
|
||||
|
Loading…
Reference in New Issue
Block a user