]> git.saurik.com Git - apt.git/blobdiff - methods/gzip.cc
Applying #298821 patch for further arbitary typos
[apt.git] / methods / gzip.cc
index a8e816bf34b9b31b843fdc53d8a3c8d7bd399f37..f732c0b8600f227bd98e0fb088038aea4383e8c8 100644 (file)
@@ -55,7 +55,7 @@ bool GzipMethod::Fetch(FetchItem *Itm)
    // if the file is empty, just rename it and return
    if(From.Size() == 0) 
    {
-      Rename(Path, Itm->DestFile);
+      rename(Path.c_str(), Itm->DestFile.c_str());
       return true;
    }