aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-02-28 11:36:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-01 17:30:34 +0100
commit65eb65fde64bd5faff6d6a7740f9436336e290e0 (patch)
tree8470a15feed5069a8c17c17137fc54800d58418a /lib/pop3.c
parent8cf6c170cf310626f8008c25df71f43f2a9061a6 (diff)
urldata: simplify bytecounters
- no need to have them protocol specific - no need to set pointers to them with the Curl_setup_transfer() call - make Curl_setup_transfer() operate on a transfer pointer, not connection - switch some counters from long to the more proper curl_off_t type Closes #3627
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 4f65f289b..8dbd448b2 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -912,7 +912,7 @@ static CURLcode pop3_state_command_resp(struct connectdata *conn,
if(pop3->transfer == FTPTRANSFER_BODY) {
/* POP3 download */
- Curl_setup_transfer(conn, FIRSTSOCKET, -1, FALSE, NULL, -1, NULL);
+ Curl_setup_transfer(data, FIRSTSOCKET, -1, FALSE, -1);
if(pp->cache) {
/* The header "cache" contains a bunch of data that is actually body