Changeset 2974
- Timestamp:
- 04/28/06 05:54:09 (3 years ago)
- Files:
-
- hydranode/hncore/ed2k/serverlist.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/hncore/ed2k/serverlist.cpp
r2964 r2974 1220 1220 } else if (n == 3) { 1221 1221 return Operation("list", false); 1222 } else if (n == 4) { 1223 Operation op("connectId", true); 1224 op.addArg(Operation::Argument("id", true, ODT_INT)); 1225 return op; 1222 1226 #ifndef NDEBUG 1223 } else if (n == 4) {1227 } else if (n == 5) { 1224 1228 return Operation("deadclients", false); 1225 1229 #endif … … 1243 1247 ); 1244 1248 IPV4Address addr(ip, port); 1245 logMsg(boost::format("addr: %s") % addr);1246 1249 if (m_list->get<1>().find(addr) == m_list->get<1>().end()) { 1247 1250 m_list->insert(new Server(addr)); 1251 logMsg(boost::format("Added server %s") % addr); 1248 1252 } else { 1249 1253 throw std::runtime_error(
