diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-10-31 20:06:34 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-10-31 20:06:34 +0100 |
| commit | 7882f8fed5bc1232ec51b54b06bf86bfad3d4e18 (patch) | |
| tree | 16a7c04cd832ae9bbf181fbcfb9b874bc77b42b9 | |
| parent | 7993c14863f79e48b772038eb9c17af9ec127d3b (diff) | |
* apt-pkg/deb/dpkgpm.cc:
- reset the line if a invalid line was read
| -rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 2 |
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; } |
