]> git.saurik.com Git - apt.git/commitdiff
Oops
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:40 +0000 (17:04 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:40 +0000 (17:04 +0000)
Author: mdz
Date: 2004-01-02 21:55:09 GMT
Oops

ftparchive/writer.cc

index e495a4c455230d072894a979d9ff82a40a6536bf..5264f4c1fc33a2849f32e38ba8fb843febece239 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: writer.cc,v 1.11 2004/01/02 21:48:13 mdz Exp $
+// $Id: writer.cc,v 1.12 2004/01/02 21:55:09 mdz Exp $
 /* ######################################################################
 
    Writer 
@@ -852,7 +852,7 @@ bool ReleaseWriter::DoPackage(string FileName)
    {
       NewFileName = string(FileName.begin() + DirStrip.length(),FileName.end());
       while (NewFileName[0] == '/')
-           NewFileName = string(FileName.begin() + 1,FileName.end());
+         NewFileName = string(NewFileName.begin() + 1,NewFileName.end());
    }
    else 
       NewFileName = FileName;