*** empty log message ***

This commit is contained in:
Arvid Norberg
2003-11-06 10:44:19 +00:00
parent f495117e39
commit 81289c9354
5 changed files with 15 additions and 13 deletions

View File

@@ -149,7 +149,7 @@ int main(int argc, char* argv[])
if (argc < 2)
{
std::cerr << "usage: ./client_test torrent-files ...\n"
"to stop the client, type a number and press enter.\n";
"to stop the client, press q.\n";
return 1;
}
@@ -222,8 +222,8 @@ int main(int argc, char* argv[])
i->get_peer_info(peers);
float down = 0.f;
float up = 0.f;
unsigned int total_down = 0;
unsigned int total_up = 0;
unsigned int total_down = s.total_download;
unsigned int total_up = s.total_upload;
int num_peers = peers.size();
for (std::vector<peer_info>::iterator i = peers.begin();
@@ -232,8 +232,6 @@ int main(int argc, char* argv[])
{
down += i->down_speed;
up += i->up_speed;
total_down += i->total_download;
total_up += i->total_upload;
}
/*
std::cout << boost::format("%f%% p:%d d:(%s) %s/s u:(%s) %s/s\n")