summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 58d2ac33..c7a9c6e3 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -393,7 +393,10 @@ bool xact_base_t::finalize()
some_null = true;
}
- post->account->add_post(post);
+ if (post->has_flags(POST_DEFERRED))
+ post->account->add_deferred_post(id(), post);
+ else
+ post->account->add_post(post);
post->xdata().add_flags(POST_EXT_VISITED);
post->account->xdata().add_flags(ACCOUNT_EXT_VISITED);