aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 1e6927f..0390277 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -287,11 +287,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
287 // instead 287 // instead
288 m_log.Info("[LLUDPSERVER]: Packet exceeded buffer size during zerocoding. Removing MSG_ZEROCODED flag"); 288 m_log.Info("[LLUDPSERVER]: Packet exceeded buffer size during zerocoding. Removing MSG_ZEROCODED flag");
289 data[0] = (byte)(data[0] & ~Helpers.MSG_ZEROCODED); 289 data[0] = (byte)(data[0] & ~Helpers.MSG_ZEROCODED);
290 //
291 buffer = new UDPPacketBuffer(client.RemoteEndPoint, dataLength);
292 //
290 Buffer.BlockCopy(data, 0, buffer.Data, 0, dataLength); 293 Buffer.BlockCopy(data, 0, buffer.Data, 0, dataLength);
291 } 294 }
292 } 295 }
293 else 296 else
294 { 297 {
298 // ??? will it fit?
295 Buffer.BlockCopy(data, 0, buffer.Data, 0, dataLength); 299 Buffer.BlockCopy(data, 0, buffer.Data, 0, dataLength);
296 } 300 }
297 buffer.DataLength = dataLength; 301 buffer.DataLength = dataLength;