aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 864dca6c1..464e17f8b 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -67,7 +67,7 @@
#include "if2ip.h"
#include "hostip.h"
#include "progress.h"
-#include "download.h"
+#include "transfer.h"
#include "escape.h"
#include "http.h" /* for HTTP proxy tunnel stuff */
#include "ftp.h"
@@ -1110,7 +1110,7 @@ CURLcode _ftp(struct connectdata *conn)
Curl_pgrsSetUploadSize(data, data->infilesize);
- result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
+ result = Curl_Transfer(conn, -1, -1, FALSE, NULL, /* no download */
data->secondarysocket, bytecountp);
if(result)
return result;
@@ -1339,7 +1339,7 @@ CURLcode _ftp(struct connectdata *conn)
infof(data, "Getting file with size: %d\n", size);
/* FTP download: */
- result=Transfer(conn, data->secondarysocket, size, FALSE,
+ result=Curl_Transfer(conn, data->secondarysocket, size, FALSE,
bytecountp,
-1, NULL); /* no upload here */
if(result)