mirror of https://github.com/BOINC/boinc.git
parent
ad8ba413a3
commit
4425b5f3e3
|
@ -402,7 +402,7 @@ static void print_log(char* p) {
|
||||||
|
|
||||||
int CLIENT_STATE::net_sleep(double x) {
|
int CLIENT_STATE::net_sleep(double x) {
|
||||||
if (activities_suspended) {
|
if (activities_suspended) {
|
||||||
boinc_sleep((int)ceil(x));
|
boinc_sleep((int)x);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return net_xfers->net_sleep(x);
|
return net_xfers->net_sleep(x);
|
||||||
|
|
Loading…
Reference in New Issue