reverted accidental check-in
This commit is contained in:
parent
11cd7af4e7
commit
08444d0c2f
|
@ -135,11 +135,11 @@ bool sleep_and_input(char* c, int sleep)
|
||||||
FD_ZERO(&set);
|
FD_ZERO(&set);
|
||||||
FD_SET(0, &set);
|
FD_SET(0, &set);
|
||||||
timeval tv = {sleep, 0};
|
timeval tv = {sleep, 0};
|
||||||
// if (select(1, &set, 0, 0, &tv) > 0)
|
if (select(1, &set, 0, 0, &tv) > 0)
|
||||||
// {
|
{
|
||||||
// *c = getc(stdin);
|
*c = getc(stdin);
|
||||||
// return true;
|
return true;
|
||||||
// }
|
}
|
||||||
libtorrent::sleep(500);
|
libtorrent::sleep(500);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -753,11 +753,6 @@ int main(int argc, char* argv[])
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
session_settings settings;
|
session_settings settings;
|
||||||
|
|
||||||
{
|
|
||||||
mutex m;
|
|
||||||
mutex::scoped_lock l(m);
|
|
||||||
}
|
|
||||||
|
|
||||||
settings.user_agent = "client_test/" LIBTORRENT_VERSION;
|
settings.user_agent = "client_test/" LIBTORRENT_VERSION;
|
||||||
settings.auto_upload_slots_rate_based = true;
|
settings.auto_upload_slots_rate_based = true;
|
||||||
//settings.announce_to_all_trackers = true;
|
//settings.announce_to_all_trackers = true;
|
||||||
|
|
Loading…
Reference in New Issue