svn path=/trunk/boinc/; revision=857
This commit is contained in:
Eric Heien 2003-02-03 23:09:04 +00:00
parent 78e7500deb
commit 87e1ac73fc
1 changed files with 2 additions and 2 deletions

View File

@ -270,9 +270,9 @@ int CLIENT_STATE::check_time_tests() {
int retval, exit_code = 0; int retval, exit_code = 0;
retval = waitpid(time_tests_id, &exit_code, WNOHANG); retval = waitpid(time_tests_id, &exit_code, WNOHANG);
if(retval == 0) { if(retval == 0) {
if(time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) { if((unsigned int)time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) {
show_message("Time tests timed out, using default values", "low"); show_message("Time tests timed out, using default values", "low");
kill(pid, SIGKILL); kill(time_tests_id, SIGKILL);
host_info.p_fpops = 1e9; host_info.p_fpops = 1e9;
host_info.p_iops = 1e9; host_info.p_iops = 1e9;
host_info.p_membw = 4e9; host_info.p_membw = 4e9;