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();