diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-10 08:16:26 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-10 08:16:26 -0400 |
commit | 7be17fd779db1ee2a20064bdf3b4a8f5da3eb968 (patch) | |
tree | 4408ceac022ed5370f2eb4b57408bbc7050697c4 /src/error.cc | |
parent | 5aa1f8b6249a4d6d933b9ce1b2c79011439a04c6 (diff) | |
download | fork-ledger-7be17fd779db1ee2a20064bdf3b4a8f5da3eb968.tar.gz fork-ledger-7be17fd779db1ee2a20064bdf3b4a8f5da3eb968.tar.bz2 fork-ledger-7be17fd779db1ee2a20064bdf3b4a8f5da3eb968.zip |
Corrections to the way error strings are generated
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cc b/src/error.cc index cfc91ff1..4b3a7786 100644 --- a/src/error.cc +++ b/src/error.cc @@ -43,6 +43,7 @@ std::ostringstream _desc_buffer; string error_context() { string context = _ctxt_buffer.str(); + _ctxt_buffer.clear(); _ctxt_buffer.str(""); return context; } |