print fail limit on trackers in client_test

This commit is contained in:
Arvid Norberg 2010-05-04 16:49:26 +00:00
parent 24a3bbb985
commit 90ac0dbbcc
1 changed files with 2 additions and 2 deletions

View File

@ -1435,8 +1435,8 @@ int main(int argc, char* argv[])
for (std::vector<announce_entry>::iterator i = tr.begin()
, end(tr.end()); i != end; ++i)
{
snprintf(str, sizeof(str), "%2d %-55s fails: %-3d %s %s \"%s\" %s\n"
, i->tier, i->url.c_str(), i->fails, i->verified?"OK ":"- "
snprintf(str, sizeof(str), "%2d %-55s fails: %-3d (%-3d) %s %s \"%s\" %s\n"
, i->tier, i->url.c_str(), i->fails, i->fail_limit, i->verified?"OK ":"- "
, i->updating?"updating"
:!i->will_announce(now)?""
:to_string(total_seconds(i->next_announce - now), 8).c_str()