Explorar o código

* merged from apt--mvo

Michael Vogt %!s(int64=19) %!d(string=hai) anos
pai
achega
bd57174ec3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      apt-pkg/deb/dpkgpm.cc

+ 2 - 0
apt-pkg/deb/dpkgpm.cc

@@ -636,6 +636,8 @@ bool pkgDPkgPM::Go(int OutStatusFd)
 	 {
 	    if (_config->FindB("Debug::pkgDPkgProgressReporting",false) == true)
 	       std::clog << "ignoring line: not enough ':'" << std::endl;
+	    // reset the line buffer
+	    line[0]=0;
 	    continue;
 	 }