From 1540ccec01661867b5d758c1e57f26a73b039ac6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 3 Mar 2009 20:28:09 -0400 Subject: Gather account details in a details_t structure --- src/xact.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/xact.cc') diff --git a/src/xact.cc b/src/xact.cc index 0e5914d1..8b834f53 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -317,11 +317,13 @@ bool xact_base_t::finalize() post->amount.in_place_reduce(); - add_or_set_value(post->account->xdata().value, post->amount); + add_or_set_value(post->account->xdata().self_details.total, + post->amount); DEBUG("xact.finalize.totals", "Total for " << post->account->fullname() << " + " - << post->amount << ": " << post->account->xdata().value); + << post->amount << ": " + << post->account->xdata().self_details.total); } else { some_null = true; } -- cgit v1.2.3