summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-06-07 08:54:29 +0200
committerMichael Vogt <egon@bottom>2006-06-07 08:54:29 +0200
commitdfa8d6b21806c76df2e53555c577e8d2029186c4 (patch)
treea189fad82ea5eb4f68bdb1e5c3a3815f1c84666c /apt-pkg/tagfile.cc
parentd77f118854b7fcd1552272c97a3ddf02080f94c6 (diff)
* apt-pkg/tagfile.cc:
- fix merge bug
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r--apt-pkg/tagfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc
index 2eb269418..fc020436c 100644
--- a/apt-pkg/tagfile.cc
+++ b/apt-pkg/tagfile.cc
@@ -35,7 +35,7 @@ pkgTagFile::pkgTagFile(FileFd *pFd,unsigned long Size) :
Fd(*pFd),
Size(Size)
{
- if (Fd.IsOpen() == false || Fd.Size())
+ if (Fd.IsOpen() == false || Fd.Size() == 0)
{
Buffer = 0;
Start = End = Buffer = 0;