summaryrefslogtreecommitdiff
path: root/src/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.cc')
-rw-r--r--src/journal.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/journal.cc b/src/journal.cc
index b5ae3f1b..62e33440 100644
--- a/src/journal.cc
+++ b/src/journal.cc
@@ -466,7 +466,8 @@ bool journal_t::remove_xact(xact_t * xact)
return true;
}
-std::size_t journal_t::read(parse_context_stack_t& context, bool store_hashes)
+std::size_t journal_t::read(parse_context_stack_t& context,
+ hash_type_t hash_type)
{
std::size_t count = 0;
try {
@@ -485,7 +486,7 @@ std::size_t journal_t::read(parse_context_stack_t& context, bool store_hashes)
if (! current.master)
current.master = master;
- count = read_textual(context, store_hashes);
+ count = read_textual(context, hash_type);
if (count > 0) {
if (! current.pathname.empty())
sources.push_back(fileinfo_t(current.pathname));