SCR: Fix compile breaks

svn path=/trunk/boinc/; revision=23237
This commit is contained in:
Charlie Fenton 2011-03-15 07:09:15 +00:00
parent 47f89ea688
commit acd948e94b
2 changed files with 10 additions and 3 deletions

View File

@ -1651,3 +1651,9 @@ David 14 Mar 2011
html/ops/
nvidia.php
Charlie 14 Mar 2011
- SCR: Fix compile breaks.
clientscr/
mac_saver_module.cpp

View File

@ -297,7 +297,8 @@ int CScreensaver::Create() {
if (saverState == SaverState_LaunchingCoreClient)
{
SetError(FALSE, 0);
m_QuitDataManagementProc = false;
m_bQuitDataManagementProc = false;
m_bDataManagementProcStopped = false;
if (rpc == NULL) {
rpc = new RPC_CLIENT;
}
@ -564,7 +565,7 @@ void CScreensaver::ShutdownSaver() {
m_CoreClientPID = 0;
// gQuitCounter = 0;
m_wasAlreadyRunning = false;
m_QuitDataManagementProc = false;
m_bQuitDataManagementProc = false;
saverState = SaverState_Idle;
}
@ -605,7 +606,7 @@ void CScreensaver::HandleRPCError() {
// If Core Client is hung, it might cause RPCs to hang, preventing us from
// shutting down the Data Management Thread, so don't reinitialize the RPC
// client if we have told the Data Management Thread to exit.
if (m_QuitDataManagementProc) {
if (m_bQuitDataManagementProc) {
return;
}