From ee8b9370e0df5545619a7f74ce9668a7aaa2ddcb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 24 Dec 2005 07:12:39 +0000 Subject: [PATCH] state file atomicity svn path=/trunk/boinc/; revision=9142 --- client/main.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.C b/client/main.C index aec01a1f6a..949bf8c9fc 100644 --- a/client/main.C +++ b/client/main.C @@ -230,7 +230,7 @@ BOOL WINAPI ConsoleControlHandler ( DWORD dwCtrlType ){ switch( dwCtrlType ){ case CTRL_C_EVENT: BOINCTRACE("Event: CTRL-C Event\n"); - if(gstate.activities_suspended) { + if(gstate.tasks_suspended) { resume_client(); } else { suspend_client();