]> git.saurik.com Git - apt.git/blobdiff - apt-inst/contrib/extracttar.cc
edsp: optionally store a compressed copy of the last scenario
[apt.git] / apt-inst / contrib / extracttar.cc
index 8be61c5add758cda5ef70d3f01e0ebebaefb6647..60360053ed394364fda36b074a8355405423e6da 100644 (file)
@@ -101,7 +101,7 @@ bool ExtractTar::StartGzip()
 
    std::vector<APT::Configuration::Compressor> const compressors = APT::Configuration::getCompressors();
    std::vector<APT::Configuration::Compressor>::const_iterator compressor = compressors.begin();
-   for (; compressor != compressors.end(); compressor++) {
+   for (; compressor != compressors.end(); ++compressor) {
       if (compressor->Name == DecompressProg) {
         return InFd.OpenDescriptor(File.Fd(), FileFd::ReadOnly, *compressor, false);
       }