]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.cc
* doc/apt.ent:
[apt.git] / apt-pkg / cdrom.cc
index e3e0027fcadfad9004388322b613643d93ccde13..0e36f44a27a0f7c9912808f213e8550c4484f7b0 100644 (file)
@@ -229,7 +229,7 @@ bool pkgCdrom::DropBinaryArch(vector<string> &List)
       // Between Start and End is the architecture
       Start += 8;
       if ((End = strstr(Start,"/")) != 0 && Start != End &&
-          APT::Configuration::checkArchitecture(string(Start, --End)) == true)
+          APT::Configuration::checkArchitecture(string(Start, End)) == true)
         continue; // okay, architecture is accepted
 
       // not accepted -> Erase it