| 427 | |
| 428 | |
| 429 | void CServerList::GetUserFileStatus(uint32 &user, uint32 &file) |
| 430 | { |
| 431 | user = 0; |
| 432 | file = 0; |
| 433 | for (CInternalList::const_iterator it = m_servers.begin(); it != m_servers.end(); ++it) { |
| 434 | const CServer* const curr = *it; |
| 435 | if( !curr->GetFailedCount() ) { |
| 436 | user += curr->GetUsers(); |
| 437 | file += curr->GetFiles(); |
| 438 | } |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | |
| 443 | CServerList::~CServerList() |
no test coverage detected