aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 09b9ac9..2daf425 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -195,10 +195,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
195 { 195 {
196 // Make sure we are getting zeroes when running off the 196 // Make sure we are getting zeroes when running off the
197 // end of grab / degrab packets from old clients 197 // end of grab / degrab packets from old clients
198 // 198 Array.Clear(RecvBuffer, numBytes, RecvBuffer.Length - numBytes);
199 int z;
200 for (z = numBytes ; z < RecvBuffer.Length ; z++)
201 RecvBuffer[z] = 0;
202 199
203 int packetEnd = numBytes - 1; 200 int packetEnd = numBytes - 1;
204 if (proxyPortOffset != 0) packetEnd -= 6; 201 if (proxyPortOffset != 0) packetEnd -= 6;