summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:55 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:55 +0000
commitaaee82939afca3f1c11da87d0c44d7c2b07b4c1d (patch)
treecc7b8f04f87d3ef567d81322edc3b5aa83d4d164 /apt-pkg/srcrecords.cc
parentf8f410f57e7941a7bf57c5c84b77b2bcd577ac6b (diff)
Fixed for 0 length source files
Author: jgg Date: 1999-10-18 04:15:24 GMT Fixed for 0 length source files
Diffstat (limited to 'apt-pkg/srcrecords.cc')
-rw-r--r--apt-pkg/srcrecords.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc
index 23d3a5fc0..6da902d98 100644
--- a/apt-pkg/srcrecords.cc
+++ b/apt-pkg/srcrecords.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: srcrecords.cc,v 1.2 1999/04/07 05:30:18 jgg Exp $
+// $Id: srcrecords.cc,v 1.3 1999/10/18 04:15:24 jgg Exp $
/* ######################################################################
Source Package Records - Allows access to source package records
@@ -66,7 +66,7 @@ pkgSrcRecords::pkgSrcRecords(pkgSourceList &List) : Files(0), Current(0)
Files[Count] = new debSrcRecordParser(FD,I);
Count++;
}
-
+
Restart();
}
/*}}}*/
@@ -90,8 +90,8 @@ bool pkgSrcRecords::Restart()
{
Current = Files;
for (Parser **I = Files; *I != 0; I++)
- if ((*I)->Restart() == false)
- return false;
+ (*I)->Restart();
+
return true;
}
/*}}}*/