From f1274e5415cea9c9013146ba47aa9959ef8be3da Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 5 May 2005 22:35:48 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=6049 --- client/app_control.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/app_control.C b/client/app_control.C index 5091b59dc9..07d7604ab1 100644 --- a/client/app_control.C +++ b/client/app_control.C @@ -549,6 +549,7 @@ bool ACTIVE_TASK_SET::check_quit_timeout_exceeded() { unsigned int j; ACTIVE_TASK *atp; double now = dtime(); + bool retval = false; for (j=0;jpending_suspend_via_quit) { if ((now - atp->pending_suspend_via_quit_time) > 10.0) { atp->kill_task(); - return true; + retval = true; } } } - return false; + return retval; } // If process is running, send it a kill signal