diff options
Diffstat (limited to 'format.h')
-rw-r--r-- | format.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -115,9 +115,10 @@ class format_entries : public format_transactions void format_last_entry(); virtual void flush() { - format_last_entry(); - last_entry = NULL; - + if (last_entry) { + format_last_entry(); + last_entry = NULL; + } format_transactions::flush(); } virtual void operator()(transaction_t& xact); |