diff --git a/client/client_state.C b/client/client_state.C index 50b0c6ed30..1c51c2247e 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -402,7 +402,7 @@ static void print_log(char* p) { int CLIENT_STATE::net_sleep(double x) { if (activities_suspended) { - boinc_sleep((int)ceil(x)); + boinc_sleep((int)x); return 0; } else { return net_xfers->net_sleep(x);