Indentation
This commit is contained in:
@@ -6,7 +6,7 @@ using namespace boost::asio::ip;
|
|||||||
Client::Client() : m_Socket(m_IOService)
|
Client::Client() : m_Socket(m_IOService)
|
||||||
{
|
{
|
||||||
// Set up network stream
|
// Set up network stream
|
||||||
m_ReceiverEndpoint = udp::endpoint(boost::asio::ip::address::from_string("192.168.1.6"), 13);
|
m_ReceiverEndpoint = udp::endpoint(boost::asio::ip::address::from_string("192.168.1.2"), 13);
|
||||||
m_NextSnapshot.InputForward = "";
|
m_NextSnapshot.InputForward = "";
|
||||||
m_NextSnapshot.InputRight = "";
|
m_NextSnapshot.InputRight = "";
|
||||||
}
|
}
|
||||||
@@ -332,8 +332,7 @@ void Client::IdentifyPacketLoss()
|
|||||||
// if no packets lost, difference should be equal to 1
|
// if no packets lost, difference should be equal to 1
|
||||||
int difference = m_PacketID - m_PreviousPacketID;
|
int difference = m_PacketID - m_PreviousPacketID;
|
||||||
if (difference != 1) {
|
if (difference != 1) {
|
||||||
for (int i = m_PreviousPacketID + 1; i < m_PacketID; i++)
|
for (int i = m_PreviousPacketID + 1; i < m_PacketID; i++) {
|
||||||
{
|
|
||||||
LOG_INFO("Packet %i was lost...", i);
|
LOG_INFO("Packet %i was lost...", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user