From 58e49b0e8184e88729bc9d4189562e38eae89152 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 6 Apr 2006 08:03:27 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9803 --- client/win/win_screensaver.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client/win/win_screensaver.cpp b/client/win/win_screensaver.cpp index 59472938e6..b489cc8c0b 100755 --- a/client/win/win_screensaver.cpp +++ b/client/win/win_screensaver.cpp @@ -962,6 +962,7 @@ DWORD WINAPI CScreensaver::DataManagementProc() { rpc.close(); rpc.init(NULL); m_bResetCoreState = TRUE; + m_bCoreNotified = FALSE; if (!m_bBOINCConfigChecked) { m_bBOINCConfigChecked = TRUE; @@ -975,8 +976,6 @@ DWORD WINAPI CScreensaver::DataManagementProc() { SetError(TRUE, SCRAPPERR_BOINCNOTDETECTEDSTARTUP); } } - - m_bCoreNotified = FALSE; } else { // Reset the error flags. SetError(FALSE, 0); @@ -1044,10 +1043,8 @@ DWORD WINAPI CScreensaver::DataManagementProc() { ShutdownSaver(); } } - SetError(FALSE, 0); break; case SS_STATUS_BLANKED: - SetError(FALSE, 0); break; case SS_STATUS_BOINCSUSPENDED: SetError(TRUE, SCRAPPERR_BOINCSUSPENDED); @@ -1065,9 +1062,6 @@ DWORD WINAPI CScreensaver::DataManagementProc() { } } - BOINCTRACE(_T("CScreensaver::DataManagementProc - Checkpoint Status = '%d', CoreNotified = '%d', ErrorMode = '%d', ErrorCode = '%x'\n"), m_iStatus, m_bCoreNotified, m_bErrorMode, m_hrError); - - GetError(bErrorMode, hrError, NULL, 0); if (SS_STATUS_QUIT == m_iStatus && m_bCoreNotified) { BOINCTRACE(_T("CScreensaver::DataManagementProc - Shutdown BOINC Screensaver\n"));