From 907862b7418257514d9f93369f4c71ab7b933f1b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 8 Jun 2013 18:18:03 -0400 Subject: [PATCH] Bug - Shortcut for counting backlog transactions was wrong. --- src/commands/CmdStats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdStats.cpp b/src/commands/CmdStats.cpp index 99bc01331..1293cbdf5 100644 --- a/src/commands/CmdStats.cpp +++ b/src/commands/CmdStats.cpp @@ -76,7 +76,7 @@ int CmdStats::execute (std::string& output) std::vector 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.