From e0bc5c5db2b88691c04b06be2fa73a75746126cb Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 20 May 2009 01:32:06 +0000 Subject: Add copyright headers, formatting cleanup. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index f6a326f..a52eb9a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -10708,7 +10708,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP { get { - if(m_userEndPoint is IPEndPoint) + if (m_userEndPoint is IPEndPoint) { IPEndPoint ep = (IPEndPoint)m_userEndPoint; diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs index 4a94814..c315c87 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs @@ -189,7 +189,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP } if (item.Sequence != 0) - lock(contents) contents.Add(item.Sequence); + lock (contents) contents.Add(item.Sequence); lock (this) { @@ -241,7 +241,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP item.TickCount = System.Environment.TickCount; if (item.Sequence == 0) return item; - lock(contents) + lock (contents) { if (contents.Contains(item.Sequence)) if (contents.Remove(item.Sequence)) @@ -252,13 +252,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void Cancel(uint sequence) { - lock(contents) while (contents.Remove(sequence)) + lock (contents) while (contents.Remove(sequence)) ; } public bool Contains(uint sequence) { - lock(contents) return contents.Contains(sequence); + lock (contents) return contents.Contains(sequence); } public void Flush() @@ -318,7 +318,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP TextureOutgoingPacketQueue.Clear(); AssetOutgoingPacketQueue.Clear(); SendQueue.Clear(); - lock(contents) contents.Clear(); + lock (contents) contents.Clear(); } } -- cgit v1.1