summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/session.cc b/src/session.cc
index 6958603e..4587f24a 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -134,7 +134,7 @@ std::size_t session_t::read_data(const string& master_account)
parsing_context.push(*price_db_path);
parsing_context.get_current().journal = journal.get();
try {
- if (journal->read(parsing_context, HANDLED(hashes)) > 0)
+ if (journal->read(parsing_context, HANDLED(hashes_)) > 0)
throw_(parse_error, _("Transactions not allowed in price history file"));
}
catch (...) {
@@ -169,7 +169,7 @@ std::size_t session_t::read_data(const string& master_account)
parsing_context.get_current().journal = journal.get();
parsing_context.get_current().master = acct;
try {
- xact_count += journal->read(parsing_context, HANDLED(hashes));
+ xact_count += journal->read(parsing_context, HANDLED(hashes_));
}
catch (...) {
parsing_context.pop();
@@ -230,7 +230,7 @@ journal_t * session_t::read_journal_from_string(const string& data)
parsing_context.get_current().journal = journal.get();
parsing_context.get_current().master = journal->master;
try {
- journal->read(parsing_context, HANDLED(hashes));
+ journal->read(parsing_context, HANDLED(hashes_));
}
catch (...) {
parsing_context.pop();
@@ -332,7 +332,7 @@ option_t<session_t> * session_t::lookup_option(const char * p)
OPT_(file_); // -f
break;
case 'h':
- OPT(hashes);
+ OPT(hashes_);
break;
case 'i':
OPT(input_date_format_);