mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:23:36 +02:00
type star squish in domain server
This commit is contained in:
parent
e8babd6d1e
commit
2a240f6474
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ int main(int argc, const char * argv[])
|
|||
std::map<char, Agent *> newestSoloAgents;
|
||||
|
||||
agentType = packetData[1];
|
||||
unpackSocket(&packetData[2], (sockaddr*) &agentLocalAddress);
|
||||
unpackSocket(&packetData[2], (sockaddr*) g&agentLocalAddress);
|
||||
|
||||
// check the agent public address
|
||||
// if it matches our local address we're on the same box
|
||||
|
@ -121,7 +121,7 @@ int main(int argc, const char * argv[])
|
|||
} else if (packetData[0] == PACKET_HEADER_DOMAIN_RFD) {
|
||||
// if this is a previous agent, and they are re-reporting for duty
|
||||
// then we need to update the first receive time
|
||||
Agent *refreshedAgent = agentList->agentWithAddress((sockaddr*) &agentLocalAddress);
|
||||
Agent* refreshedAgent = agentList->agentWithAddress((sockaddr*) &agentLocalAddress);
|
||||
refreshedAgent->setWakeMicrostamp(usecTimestampNow());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue