aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/PacketPool.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 07a2f3a..e6c519e 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -111,6 +111,10 @@ namespace OpenSim.Framework
111 { 111 {
112 PacketType type = GetType(bytes); 112 PacketType type = GetType(bytes);
113 113
114 int z;
115 for (z = 0 ; z < zeroBuffer.Length ; z++)
116 zeroBuffer[z] = (byte)0;
117
114 int i = 0; 118 int i = 0;
115 Packet packet = GetPacket(type); 119 Packet packet = GetPacket(type);
116 packet.FromBytes(bytes, ref i, ref packetEnd, zeroBuffer); 120 packet.FromBytes(bytes, ref i, ref packetEnd, zeroBuffer);