Removed this pointer to a downloaded bytes counter because it was set in
pop3_init() to point to the same variable the transfer functions keep
the count in (k->bytecount), effectively making the code in transfer.c
"*k->bytecountp = k->bytecount" a no-op.
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) {
return CURLE_OUT_OF_MEMORY;
}
- /* Get some initial data into the pop3 struct */
- pop3->bytecountp = &data->req.bytecount;
-
return CURLE_OK;
}
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 */