Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 14, 2006, 10:32:02 AM (18 years ago)
Author:
patrick
Message:

peerinfos are now gettable from outside

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9282 r9284  
    107107  this->networkMonitor = NULL;
    108108
     109  this->pInfo = new PeerInfo();
     110  this->pInfo->nodeType = NET_CLIENT;
     111  this->pInfo->userId = 0;
     112  this->pInfo->lastAckedState = 0;
     113  this->pInfo->lastRecvedState = 0;
     114
    109115  this->myHostId = 0;
    110116  this->currentState = 0;
     
    154160  for ( SynchronizeableList::const_iterator it = getSyncBegin(); it != getSyncEnd(); it ++ )
    155161    (*it)->setNetworkStream( NULL );
     162
     163  if( this->pInfo)
     164    delete this->pInfo;
    156165}
    157166
Note: See TracChangeset for help on using the changeset viewer.