summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc
index f78ea301..1a022387 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -755,7 +755,7 @@ void to_xml(std::ostream& out, const xact_t& xact)
if (xact.metadata) {
push_xml y(out, "metadata");
foreach (const item_t::string_map::value_type& pair, *xact.metadata) {
- if (pair.second) {
+ if (pair.second.first) {
push_xml z(out, "variable");
{
push_xml w(out, "key");
@@ -763,7 +763,7 @@ void to_xml(std::ostream& out, const xact_t& xact)
}
{
push_xml w(out, "value");
- out << y.guard(*pair.second);
+ out << y.guard(*pair.second.first);
}
} else {
push_xml z(out, "tag");