summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/store.cc b/methods/store.cc
index 8ffc7b93d..ef2008273 100644
--- a/methods/store.cc
+++ b/methods/store.cc
@@ -103,7 +103,7 @@ bool StoreMethod::Fetch(FetchItem *Itm) /*{{{*/
Res.Size = 0;
while (1)
{
- unsigned char Buffer[4*1024];
+ unsigned char Buffer[APT_BUFFER_SIZE];
unsigned long long Count = 0;
if (!From.Read(Buffer,sizeof(Buffer),&Count))