summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 379bf32b6..5ceae4d70 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -936,7 +936,7 @@ bool FTPConn::Get(const char *Path,FileFd &To,unsigned long long Resume,
return false;
// Copy loop
- unsigned char Buffer[4096];
+ unsigned char Buffer[APT_BUFFER_SIZE];
while (1)
{
// Wait for some data..