aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;
}