mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 06:35:32 +02:00
remove firstDomainCheckIn bool that is no longer required
This commit is contained in:
parent
73d3ecccf3
commit
3b4231208a
1 changed files with 0 additions and 6 deletions
|
@ -140,8 +140,6 @@ void Agent::run() {
|
|||
|
||||
int thisFrame = 0;
|
||||
|
||||
bool firstDomainCheckIn = false;
|
||||
|
||||
while (!_shouldStop) {
|
||||
|
||||
// if we're not hearing from the domain-server we should stop running
|
||||
|
@ -201,10 +199,6 @@ void Agent::run() {
|
|||
|
||||
while (NodeList::getInstance()->getNodeSocket()->receive((sockaddr*) &senderAddress, receivedData, &receivedBytes)
|
||||
&& packetVersionMatch(receivedData)) {
|
||||
if (!firstDomainCheckIn && receivedData[0] == PACKET_TYPE_DOMAIN) {
|
||||
firstDomainCheckIn = true;
|
||||
}
|
||||
|
||||
NodeList::getInstance()->processNodeData((sockaddr*) &senderAddress, receivedData, receivedBytes);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue