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) {