- Shortcut for counting backlog transactions was wrong.
This commit is contained in:
Paul Beckingham 2013-06-08 18:18:03 -04:00
parent 14d3fd00e3
commit 907862b741

View file

@ -76,7 +76,7 @@ int CmdStats::execute (std::string& output)
std::vector <std::string> backlogTxns = context.tdb2.backlog.get_lines ();
int backlogCount = 0;
for (tx = backlogTxns.begin (); tx != backlogTxns.end (); ++tx)
if ((*tx)[0] == '[')
if ((*tx)[0] == '{')
++backlogCount;
// Get all the tasks.