summaryrefslogtreecommitdiff
path: root/src/lib/spl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/spl.cc')
-rw-r--r--src/lib/spl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/spl.cc b/src/lib/spl.cc
index ff37e5cbf..652efe5b8 100644
--- a/src/lib/spl.cc
+++ b/src/lib/spl.cc
@@ -47,13 +47,13 @@ SPL::read (boost::filesystem::path path, ContentStore* store)
for (auto i: doc.node_children("Entry")) {
if (auto cpl = i->optional_string_child("CPL")) {
if (auto c = store->get_by_cpl_id(*cpl)) {
- add(SPLEntry(c));
+ add(SPLEntry(c, i));
} else {
_missing = true;
}
} else {
if (auto c = store->get_by_digest(i->string_child("Digest"))) {
- add(SPLEntry(c));
+ add(SPLEntry(c, i));
} else {
_missing = true;
}