diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 8c11467..aaa8113 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -464,10 +464,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
464 | { | 464 | { |
465 | lock (m_DupeTracker) | 465 | lock (m_DupeTracker) |
466 | { | 466 | { |
467 | if(m_DupeTracker.Count < 1024) | 467 | if (m_DupeTracker.Count < 1024) |
468 | return; | 468 | return; |
469 | 469 | ||
470 | if(System.Environment.TickCount - m_DupeTrackerLastCheck < 2000) | 470 | if (System.Environment.TickCount - m_DupeTrackerLastCheck < 2000) |
471 | return; | 471 | return; |
472 | 472 | ||
473 | m_DupeTrackerLastCheck = System.Environment.TickCount; | 473 | m_DupeTrackerLastCheck = System.Environment.TickCount; |
@@ -726,7 +726,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
726 | // Assign sequence number here to prevent out of order packets | 726 | // Assign sequence number here to prevent out of order packets |
727 | packet.Header.Sequence = NextPacketSequenceNumber(); | 727 | packet.Header.Sequence = NextPacketSequenceNumber(); |
728 | 728 | ||
729 | lock(m_NeedAck) | 729 | lock (m_NeedAck) |
730 | { | 730 | { |
731 | // We want to see that packet arrive if it's reliable | 731 | // We want to see that packet arrive if it's reliable |
732 | if (packet.Header.Reliable) | 732 | if (packet.Header.Reliable) |