summaryrefslogtreecommitdiff
path: root/lib/top_block_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/top_block_stats.cpp')
-rw-r--r--lib/top_block_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/top_block_stats.cpp b/lib/top_block_stats.cpp
index 2a6d36c..a6559e1 100644
--- a/lib/top_block_stats.cpp
+++ b/lib/top_block_stats.cpp
@@ -59,5 +59,5 @@ std::string TopBlock::get_stats(const std::string &)
}
xml += str(boost::format(" <block id=\"%s\">\n%s</block>\n") % message.block_id % block_xml);
}
- return str(boost::format("<gras_stats>\n%s</gras_stats>") % xml);
+ return str(boost::format("<gras_stats id=\"%s\">\n%s</gras_stats>") % this->to_string() % xml);
}