diff options
Diffstat (limited to 'src/work.cc')
-rw-r--r-- | src/work.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/work.cc b/src/work.cc index e991bc96..a54b1352 100644 --- a/src/work.cc +++ b/src/work.cc @@ -148,13 +148,13 @@ function_t look_for_precommand(report_t& report, const string& verb) return function_t(); } -journal_t * read_journal_files(session_t& session) +journal_t * read_journal_files(session_t& session, const string& account) { INFO_START(journal, "Read journal file"); journal_t * journal(session.create_journal()); - std::size_t count = session.read_data(*journal, session.report->account); + std::size_t count = session.read_data(*journal, account); if (count == 0) throw_(parse_error, "Failed to locate any journal entries; " "did you specify a valid file with -f?"); |