mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix mistaken and very broken commit
(Fortunately I never ran a relay with this in it!)
This commit is contained in:
parent
7fa0cb1b93
commit
40ce484a92
2 changed files with 2 additions and 3 deletions
|
@ -57,8 +57,7 @@ DevMgr::rememberDevice( DevIDRelay devid, const AddrInfo::AddrUnion* saddr )
|
|||
pair<map<DevIDRelay,UDPAddrRec>::iterator, bool> result =
|
||||
m_devAddrMap.insert( pair<DevIDRelay,UDPAddrRec>( devid, rec ) );
|
||||
if ( !result.second ) {
|
||||
logf( XW_LOGINFO, "%s: replacing address for %d; was %s, now %s",
|
||||
__func__, devid, result.first->second, rec );
|
||||
logf( XW_LOGINFO, "%s: replacing address for %d", __func__, devid );
|
||||
result.first->second = rec;
|
||||
}
|
||||
|
||||
|
|
|
@ -1840,7 +1840,7 @@ handle_udp_packet( PacketThreadClosure* ptc )
|
|||
}
|
||||
|
||||
case XWPDEV_KEEPALIVE:
|
||||
case XWPDEV_RQSTMSGS: { // here
|
||||
case XWPDEV_RQSTMSGS: {
|
||||
DevID devID( ID_TYPE_RELAY );
|
||||
if ( getVLIString( &ptr, end, devID.m_devIDString ) ) {
|
||||
const AddrInfo* addr = ptc->addr();
|
||||
|
|
Loading…
Add table
Reference in a new issue