aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-13 20:19:43 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-13 20:19:43 +0000
commitac890cd5f25e029713d55160112e7434a57d421a (patch)
tree76ea4fa564cb7f38109f1f16ccd6918db385f25f
parent308dc625f7d20f4ba0dcc8855c24e8dfe80045a6 (diff)
pop3: Removed unnecessary transfer cancellation
Following commit e450f66a02d8 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.
-rw-r--r--lib/pop3.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 34c5964a1..10975edb9 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -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;
}