aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/PacketPool.cs')
-rw-r--r--OpenSim/Framework/PacketPool.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index e24da42..9994fac 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -115,9 +115,7 @@ namespace OpenSim.Framework
115 { 115 {
116 PacketType type = GetType(bytes); 116 PacketType type = GetType(bytes);
117 117
118 int z; 118 Array.Clear(zeroBuffer, 0, zeroBuffer.Length);
119 for (z = 0 ; z < zeroBuffer.Length ; z++)
120 zeroBuffer[z] = 0;
121 119
122 int i = 0; 120 int i = 0;
123 Packet packet = GetPacket(type); 121 Packet packet = GetPacket(type);