*** empty log message ***

This commit is contained in:
Magnus Jonsson
2004-01-21 00:59:38 +00:00
parent a9ef075d7d
commit 9c14019f34
5 changed files with 187 additions and 21 deletions

View File

@@ -259,6 +259,7 @@ int main(int argc, char* argv[])
{}
handles.push_back(ses.add_torrent(t, save_path, resume_data));
handles.back().set_max_connections(5);
handles.back().set_max_uploads(-1);
handles.back().set_ratio(1.02);
}
@@ -385,7 +386,7 @@ int main(int argc, char* argv[])
<< static_cast<const char*>((i->flags & peer_info::supports_extensions)?"e":"_")
<< static_cast<const char*>((i->flags & peer_info::local_connection)?"l":"r")
<< "\n";
/*
if (i->downloading_piece_index >= 0)
{
out.width(5);
@@ -397,8 +398,9 @@ int main(int argc, char* argv[])
, 50);
out << "\n";
}
*/
}
/*
out << "___________________________________\n";
i->get_download_queue(queue);
@@ -419,7 +421,7 @@ int main(int argc, char* argv[])
}
out << "___________________________________\n";
*/
}
for (std::deque<std::string>::iterator i = events.begin();
@@ -431,8 +433,9 @@ int main(int argc, char* argv[])
clear();
set_cursor(0, 0);
std::cout << out.str();
std::cout.flush();
puts(out.str().c_str());
// std::cout << out.str();
// std::cout.flush();
}
}
catch (std::exception& e)