summaryrefslogtreecommitdiff
path: root/src/generic/apt/download_install_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/apt/download_install_manager.cc')
-rw-r--r--src/generic/apt/download_install_manager.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/generic/apt/download_install_manager.cc b/src/generic/apt/download_install_manager.cc
index 7cebd369..9ba5e47e 100644
--- a/src/generic/apt/download_install_manager.cc
+++ b/src/generic/apt/download_install_manager.cc
@@ -1,6 +1,6 @@
// download_install_manager.cc
//
-// Copyright (C) 2005-2010 Daniel Burrows
+// Copyright (C) 2005-2011 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -89,7 +89,8 @@ bool download_install_manager::prepare(OpProgress &progress,
return false;
}
- fetcher = new pkgAcquire(&acqlog);
+ fetcher = new pkgAcquire;
+ fetcher->Setup(&acqlog);
if(!pm->GetArchives(fetcher, &src_list, apt_package_records) ||
_error->PendingError())