forked from premiere/premiere-libtorrent
fixed proper formatting of announce count down in client_test
This commit is contained in:
parent
ecb20f97fd
commit
f16e419abd
|
@ -919,8 +919,10 @@ int main(int ac, char* av[])
|
||||||
if (s.state != torrent_status::seeding)
|
if (s.state != torrent_status::seeding)
|
||||||
{
|
{
|
||||||
boost::posix_time::time_duration t = s.next_announce;
|
boost::posix_time::time_duration t = s.next_announce;
|
||||||
out << " next announce: " << esc("37") <<
|
out << " next announce: " << esc("37")
|
||||||
t.hours() << ":" << t.minutes() << ":" << t.seconds() << esc("0") << " ";
|
<< std::setw(2) << std::setfill('0') << t.hours() << ":"
|
||||||
|
<< std::setw(2) << std::setfill('0') << t.minutes() << ":"
|
||||||
|
<< std::setw(2) << std::setfill('0') << t.seconds() << esc("0") << " ";
|
||||||
out << "tracker: " << s.current_tracker << "\n";
|
out << "tracker: " << s.current_tracker << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue