Loading lib/imap.c +5 −5 Original line number Diff line number Diff line Loading @@ -1395,7 +1395,11 @@ static CURLcode imap_state_append_resp(struct connectdata *conn, (void)instate; /* No use for this yet */ if(imapcode == '+') { if(imapcode != '+') { state(conn, IMAP_STOP); return CURLE_UPLOAD_FAILED; } else { Curl_pgrsSetUploadSize(data, data->set.infilesize); Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* No download */ FIRSTSOCKET, NULL); Loading @@ -1404,10 +1408,6 @@ static CURLcode imap_state_append_resp(struct connectdata *conn, state(conn, IMAP_STOP); return CURLE_OK; } else { state(conn, IMAP_STOP); return CURLE_UPLOAD_FAILED; } } /* For final APPEND responses performed after the upload */ Loading Loading
lib/imap.c +5 −5 Original line number Diff line number Diff line Loading @@ -1395,7 +1395,11 @@ static CURLcode imap_state_append_resp(struct connectdata *conn, (void)instate; /* No use for this yet */ if(imapcode == '+') { if(imapcode != '+') { state(conn, IMAP_STOP); return CURLE_UPLOAD_FAILED; } else { Curl_pgrsSetUploadSize(data, data->set.infilesize); Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* No download */ FIRSTSOCKET, NULL); Loading @@ -1404,10 +1408,6 @@ static CURLcode imap_state_append_resp(struct connectdata *conn, state(conn, IMAP_STOP); return CURLE_OK; } else { state(conn, IMAP_STOP); return CURLE_UPLOAD_FAILED; } } /* For final APPEND responses performed after the upload */ Loading