summaryrefslogtreecommitdiff
path: root/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'report.cc')
-rw-r--r--report.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.cc b/report.cc
index b83547c3..90259440 100644
--- a/report.cc
+++ b/report.cc
@@ -260,7 +260,7 @@ report_t::chain_xact_handlers(const std::string& command,
for (std::string::size_type pos = descend_expr.find(';');
pos != std::string::npos;
beg = pos + 1, pos = descend_expr.find(';', beg))
- descend_exprs.push_back(std::string(descend_expr, beg, pos));
+ descend_exprs.push_back(std::string(descend_expr, beg, pos - beg));
descend_exprs.push_back(std::string(descend_expr, beg));
for (std::list<std::string>::reverse_iterator i =