| 1012 | //----------------------------------------------------------------------------- |
| 1013 | |
| 1014 | static ServerInfo* findOrCreateServerInfo( const NetAddress* addr ) |
| 1015 | { |
| 1016 | ServerInfo* ret = findServerInfo( addr ); |
| 1017 | if ( ret ) |
| 1018 | return ret; |
| 1019 | |
| 1020 | ServerInfo si; |
| 1021 | si.address = *addr; |
| 1022 | gServerList.push_back( si ); |
| 1023 | |
| 1024 | return &gServerList.last(); |
| 1025 | } |
| 1026 | |
| 1027 | //----------------------------------------------------------------------------- |
| 1028 |
no test coverage detected