mirror of https://github.com/BOINC/boinc.git
Fix typo that introduces a bug
This commit is contained in:
parent
7d881cb88c
commit
5d0f69f063
|
@ -1325,7 +1325,7 @@ int CMainDocument::CachedProjectStatusUpdate(bool bForce) {
|
||||||
if (! IsConnected()) return -1;
|
if (! IsConnected()) return -1;
|
||||||
|
|
||||||
#if USE_CACHE_TIMEOUTS
|
#if USE_CACHE_TIMEOUTS
|
||||||
wxTimeSpan ts(wxDateTime::Now() - m_dtProjecStatusTimestamp);
|
wxTimeSpan ts(wxDateTime::Now() - m_dtProjectsStatusTimestamp);
|
||||||
if (ts.GetSeconds() >= (2 * PROJECTSTATUSRPC_INTERVAL)) bForce = true;
|
if (ts.GetSeconds() >= (2 * PROJECTSTATUSRPC_INTERVAL)) bForce = true;
|
||||||
#endif
|
#endif
|
||||||
if (m_dtProjectsStatusTimestamp.IsEqualTo(wxDateTime((time_t)0))) bForce = true;
|
if (m_dtProjectsStatusTimestamp.IsEqualTo(wxDateTime((time_t)0))) bForce = true;
|
||||||
|
|
Loading…
Reference in New Issue