Bug
- Shortcut for counting backlog transactions was wrong.
This commit is contained in:
@@ -76,7 +76,7 @@ int CmdStats::execute (std::string& output)
|
|||||||
std::vector <std::string> backlogTxns = context.tdb2.backlog.get_lines ();
|
std::vector <std::string> backlogTxns = context.tdb2.backlog.get_lines ();
|
||||||
int backlogCount = 0;
|
int backlogCount = 0;
|
||||||
for (tx = backlogTxns.begin (); tx != backlogTxns.end (); ++tx)
|
for (tx = backlogTxns.begin (); tx != backlogTxns.end (); ++tx)
|
||||||
if ((*tx)[0] == '[')
|
if ((*tx)[0] == '{')
|
||||||
++backlogCount;
|
++backlogCount;
|
||||||
|
|
||||||
// Get all the tasks.
|
// Get all the tasks.
|
||||||
|
|||||||
Reference in New Issue
Block a user