- Timestamp:
- Jul 13, 2006, 11:15:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_monitor.cc
r9266 r9267 89 89 */ 90 90 void NetworkMonitor::removeProxyServer(PeerInfo* node) 91 {} 91 { 92 std::list<PeerInfo*>::iterator it = this->proxyServerList.begin(); 93 for(; it != this->proxyServerList.end(); it++) 94 { 95 if( *it == node) 96 { 97 this->proxyServerList.erase(it); 98 return; 99 } 100 } 101 102 PRINTF(2)("Could not remove proxy server from the list, very strange..."); 103 } 92 104 93 105 /** … … 95 107 */ 96 108 void NetworkMonitor::removeMasterServer(PeerInfo* node) 97 {} 109 { 110 std::list<PeerInfo*>::iterator it = this->masterServerList.begin(); 111 for(; it != this->masterServerList.end(); it++) 112 { 113 if( *it == node) 114 { 115 this->masterServerList.erase(it); 116 return; 117 } 118 } 119 120 PRINTF(2)("Could not remove client from the list, very strange..."); 121 } 98 122 99 123
Note: See TracChangeset
for help on using the changeset viewer.