aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/PacketPool.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 597375c..fc4a53b 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -55,7 +55,7 @@ namespace OpenSim.Framework
55 55
56 lock (pool) 56 lock (pool)
57 { 57 {
58 if (pool[type] == null || (pool[type]).Count == 0) 58 if (!pool.ContainsKey(type) || pool[type] == null || (pool[type]).Count == 0)
59 { 59 {
60 // Creating a new packet if we cannot reuse an old package 60 // Creating a new packet if we cannot reuse an old package
61 packet = Packet.BuildPacket(type); 61 packet = Packet.BuildPacket(type);
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index d64e0a4..4abc0f7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -144,7 +144,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
144 /// <param name="port"></param> 144 /// <param name="port"></param>
145 /// <param name="proxyPortOffsetParm"></param> 145 /// <param name="proxyPortOffsetParm"></param>
146 /// <param name="allow_alternate_port"></param> 146 /// <param name="allow_alternate_port"></param>
147 /// <param name="settings"></param> 147 /// <param name="userSettings"></param>
148 /// <param name="assetCache"></param> 148 /// <param name="assetCache"></param>
149 /// <param name="circuitManager"></param> 149 /// <param name="circuitManager"></param>
150 public void Initialise( 150 public void Initialise(