summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-31 08:23:23 +0100
committerMichael Vogt <mvo@debian.org>2014-01-31 08:23:23 +0100
commitbb2e0d5add4a291f09d68ebb5588e45dc128d766 (patch)
tree7f4b41204f42eaf6c408fdf98597f61debd28a4a /apt-pkg/srcrecords.cc
parent960975a175c2a21df749727162d5677cdc97a36e (diff)
parent25d99f3b42ada24679ddc1d911530425acc8e475 (diff)
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
Diffstat (limited to 'apt-pkg/srcrecords.cc')
-rw-r--r--apt-pkg/srcrecords.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc
index 297559957..60b62850a 100644
--- a/apt-pkg/srcrecords.cc
+++ b/apt-pkg/srcrecords.cc
@@ -70,8 +70,9 @@ bool pkgSrcRecords::Restart()
Current = Files.begin();
for (std::vector<Parser*>::iterator I = Files.begin();
I != Files.end(); ++I)
- (*I)->Restart();
-
+ if ((*I)->Offset() != 0)
+ (*I)->Restart();
+
return true;
}
/*}}}*/