From aaee82939afca3f1c11da87d0c44d7c2b07b4c1d Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:54:55 +0000 Subject: Fixed for 0 length source files Author: jgg Date: 1999-10-18 04:15:24 GMT Fixed for 0 length source files --- apt-pkg/srcrecords.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apt-pkg/srcrecords.cc') 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; } /*}}}*/ -- cgit v1.2.3