summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-02 15:54:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-02 15:54:28 -0400
commitc1cb06e00922ba5c15c128bab05c71220077fdce (patch)
treedb00cc04a338c33c540c3be98c53742a1e2902ca /src/session.cc
parentbd9ffed9db00e31e4ad526f4558d0d2929c8ac39 (diff)
downloadfork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.gz
fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.bz2
fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.zip
Updated some internal documentation.
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 fc0601d5..9d926550 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -178,10 +178,10 @@ void session_t::read_init()
journal_t temp;
if (read_journal(temp, *init_file) > 0 ||
- temp.auto_entries.size() > 0 ||
- temp.period_entries.size() > 0)
- throw_(parse_error, "Entries found in initialization file '" <<
- init_file << "'");
+ temp.auto_entries.size() > 0 || temp.period_entries.size() > 0) {
+ throw_(parse_error,
+ "Entries found in initialization file '" << init_file << "'");
+ }
TRACE_FINISH(init, 1);
}