Changeset 14243 for trunk


Ignore:
Timestamp:
06/28/12 09:50:39 (12 years ago)
Author:
tbretz
Message:
Promote the state to idle if it is less than idle but all clients are connected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/mcp.cc

    r14222 r14243  
    272272    int HandleStateChange()
    273273    {
     274        cout <<
    274275        if (!fDim.online())
    275276            return MCP::State::kDimNetworkNA;
     
    278279            fDimFAD.state() >= FAD::State::kConnected &&
    279280            fDimLog.state() >= kSM_Ready)
    280             return GetCurrentState();
     281            return GetCurrentState()<=MCP::State::kIdle ? MCP::State::kIdle : GetCurrentState();
    281282
    282283        if (fDimFTM.state() >-2 &&
Note: See TracChangeset for help on using the changeset viewer.