aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pop3.c5
-rw-r--r--lib/pop3.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index acdb65f0d..23d7e97b2 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1115,7 +1115,7 @@ static CURLcode pop3_state_command_resp(struct connectdata *conn,
pop3c->strip = 2;
/* POP3 download */
- Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, pop3->bytecountp,
+ Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, NULL,
-1, NULL); /* no upload here */
if(pp->cache) {
@@ -1294,9 +1294,6 @@ static CURLcode pop3_init(struct connectdata *conn)
return CURLE_OUT_OF_MEMORY;
}
- /* Get some initial data into the pop3 struct */
- pop3->bytecountp = &data->req.bytecount;
-
return CURLE_OK;
}
diff --git a/lib/pop3.h b/lib/pop3.h
index 459a03d7a..4277535ae 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -57,7 +57,6 @@ typedef enum {
perhaps the SessionHandle is changed between the times the connection is
used. */
struct POP3 {
- curl_off_t *bytecountp;
curl_pp_transfer transfer;
char *id; /* Message ID */
char *custom; /* Custom Request */