summaryrefslogtreecommitdiff
path: root/methods/bzip2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/bzip2.cc')
-rw-r--r--methods/bzip2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods/bzip2.cc b/methods/bzip2.cc
index eff83bda7..ad5db6cfb 100644
--- a/methods/bzip2.cc
+++ b/methods/bzip2.cc
@@ -47,9 +47,9 @@ class Bzip2Method : public pkgAcqMethod
bool Bzip2Method::Fetch(FetchItem *Itm)
{
URI Get = Itm->Uri;
- string Path = Get.Host + Get.Path; // To account for relative paths
+ std::string Path = Get.Host + Get.Path; // To account for relative paths
- string GzPathOption = "Dir::bin::"+string(Prog);
+ std::string GzPathOption = "Dir::bin::" + std::string(Prog);
FetchResult Res;
Res.Filename = Itm->DestFile;
@@ -78,7 +78,7 @@ bool Bzip2Method::Fetch(FetchItem *Itm)
SetCloseExec(STDOUT_FILENO,false);
const char *Args[3];
- string Tmp = _config->Find(GzPathOption,Prog);
+ std::string Tmp = _config->Find(GzPathOption,Prog);
Args[0] = Tmp.c_str();
Args[1] = "-d";
Args[2] = 0;