From 50257f73be8b71c235e8e0330cc09225ff5bf7b0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 22 May 2006 20:31:52 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10179 --- checkin_notes | 7 +++++++ client/client_state.C | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 25c8347cc2..8524c58a40 100755 --- a/checkin_notes +++ b/checkin_notes @@ -4954,3 +4954,10 @@ Rom 22 May 2006 lib/ diagnostics_win.C + +David 23 May 2006 + - core client: fix logic error involving the + "5 minutes of network after GUI RPC" thing. + + client/ + client_state.C diff --git a/client/client_state.C b/client/client_state.C index 051d289abc..058128b94b 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -476,8 +476,8 @@ bool CLIENT_STATE::poll_slow_events() { // if we've had a GUI RPC in last few minutes, relax the normal rules // if (gui_rpcs.got_recent_rpc(300)) { - network_suspend_reason &= !SUSPEND_REASON_USER_ACTIVE; - network_suspend_reason &= !SUSPEND_REASON_BATTERIES; + network_suspend_reason &= ~SUSPEND_REASON_USER_ACTIVE; + network_suspend_reason &= ~SUSPEND_REASON_BATTERIES; } if (network_suspend_reason) { if (!network_suspended) {