Bug
- Fixed bug with backlog parsing.
This commit is contained in:
@@ -113,11 +113,12 @@ int CmdSync::execute (std::string& output)
|
||||
std::vector <std::string> lines = context.tdb2.backlog.get_lines ();
|
||||
std::vector <std::string>::iterator i;
|
||||
for (i = lines.begin (); i != lines.end (); ++i)
|
||||
{
|
||||
if ((*i)[0] == '{')
|
||||
{
|
||||
payload += *i + "\n";
|
||||
++upload_count;
|
||||
}
|
||||
|
||||
payload += *i + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
// Send 'sync' + payload.
|
||||
|
||||
Reference in New Issue
Block a user