pop3: Removed unnecessary transfer cancellation

Following commit e450f66a02 and the changes in the multi interface
being used internally, from 7.29.0, the transfer cancellation in
pop3_dophase_done() is no longer required.
This commit is contained in:
Steve Holme 2013-03-13 20:19:43 +00:00
Родитель 308dc625f7
Коммит ac890cd5f2
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -1548,14 +1548,9 @@ static CURLcode pop3_parse_custom_request(struct connectdata *conn)
/* Call this when the DO phase has completed */
static CURLcode pop3_dophase_done(struct connectdata *conn, bool connected)
{
struct POP3 *pop3 = conn->data->state.proto.pop3;
(void)conn;
(void)connected;
if(pop3->transfer != FTPTRANSFER_BODY)
/* no data to transfer */
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, -1, NULL);
return CURLE_OK;
}