summaryrefslogtreecommitdiff
path: root/methods/file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/file.cc')
-rw-r--r--methods/file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/file.cc b/methods/file.cc
index ff4301576..9f4e713b8 100644
--- a/methods/file.cc
+++ b/methods/file.cc
@@ -43,7 +43,7 @@ class FileMethod : public aptMethod
/* */
bool FileMethod::Fetch(FetchItem *Itm)
{
- URI Get = Itm->Uri;
+ URI Get(Itm->Uri);
std::string File = Get.Path;
FetchResult Res;
if (Get.Host.empty() == false)