summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-31 20:06:34 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-31 20:06:34 +0100
commit7882f8fed5bc1232ec51b54b06bf86bfad3d4e18 (patch)
tree16a7c04cd832ae9bbf181fbcfb9b874bc77b42b9 /apt-pkg/deb
parent7993c14863f79e48b772038eb9c17af9ec127d3b (diff)
* apt-pkg/deb/dpkgpm.cc:
- reset the line if a invalid line was read
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 4c44cd01a..c7a6b921f 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/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;
}