diff options
author | Jeff Ames | 2008-02-29 10:35:03 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-29 10:35:03 +0000 |
commit | de80a23c1a70b44bdf1976a933864ff2ad9f727a (patch) | |
tree | 49e195814bb91a5e9fc3a862614d8d21e518c02b /OpenSim/Region/ClientStack | |
parent | * Fixed Cylinder mass formula using diameter instead of radius. (diff) | |
download | opensim-SC_OLD-de80a23c1a70b44bdf1976a933864ff2ad9f727a.zip opensim-SC_OLD-de80a23c1a70b44bdf1976a933864ff2ad9f727a.tar.gz opensim-SC_OLD-de80a23c1a70b44bdf1976a933864ff2ad9f727a.tar.bz2 opensim-SC_OLD-de80a23c1a70b44bdf1976a933864ff2ad9f727a.tar.xz |
Cleaned up a couple compiler warnings.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/UDPServer.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs index 1997453..e3b482f 100644 --- a/OpenSim/Region/ClientStack/UDPServer.cs +++ b/OpenSim/Region/ClientStack/UDPServer.cs | |||
@@ -127,7 +127,6 @@ namespace OpenSim.Region.ClientStack | |||
127 | case SocketError.AlreadyInProgress: | 127 | case SocketError.AlreadyInProgress: |
128 | case SocketError.NetworkReset: | 128 | case SocketError.NetworkReset: |
129 | case SocketError.ConnectionReset: | 129 | case SocketError.ConnectionReset: |
130 | |||
131 | try | 130 | try |
132 | { | 131 | { |
133 | CloseEndPoint(epSender); | 132 | CloseEndPoint(epSender); |
@@ -217,7 +216,6 @@ namespace OpenSim.Region.ClientStack | |||
217 | try | 216 | try |
218 | { | 217 | { |
219 | packet = PacketPool.Instance.GetPacket(RecvBuffer, ref packetEnd, ZeroBuffer); | 218 | packet = PacketPool.Instance.GetPacket(RecvBuffer, ref packetEnd, ZeroBuffer); |
220 | |||
221 | } | 219 | } |
222 | catch (Exception e) | 220 | catch (Exception e) |
223 | { | 221 | { |
@@ -228,7 +226,7 @@ namespace OpenSim.Region.ClientStack | |||
228 | { | 226 | { |
229 | Server.BeginReceiveFrom(RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref epSender, ReceivedData, null); | 227 | Server.BeginReceiveFrom(RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref epSender, ReceivedData, null); |
230 | } | 228 | } |
231 | catch (SocketException e4) | 229 | catch (SocketException) |
232 | { | 230 | { |
233 | try | 231 | try |
234 | { | 232 | { |
@@ -254,7 +252,6 @@ namespace OpenSim.Region.ClientStack | |||
254 | { | 252 | { |
255 | m_log.Error("[UDPSERVER]: " + e5.ToString()); | 253 | m_log.Error("[UDPSERVER]: " + e5.ToString()); |
256 | } | 254 | } |
257 | |||
258 | } | 255 | } |
259 | 256 | ||
260 | if (packet != null) | 257 | if (packet != null) |
@@ -286,10 +283,9 @@ namespace OpenSim.Region.ClientStack | |||
286 | // invalid client | 283 | // invalid client |
287 | //CFK: This message seems to have served its usefullness as of 12-15 so I am commenting it out for now | 284 | //CFK: This message seems to have served its usefullness as of 12-15 so I am commenting it out for now |
288 | //m_log.Warn("[UDPSERVER]: Got a packet from an invalid client - " + packet.ToString()); | 285 | //m_log.Warn("[UDPSERVER]: Got a packet from an invalid client - " + packet.ToString()); |
289 | |||
290 | } | 286 | } |
291 | } | 287 | } |
292 | catch (Exception ex) | 288 | catch (Exception) |
293 | { | 289 | { |
294 | m_log.Error("[UDPSERVER]: Exception in processing packet."); | 290 | m_log.Error("[UDPSERVER]: Exception in processing packet."); |
295 | m_log.Debug("[UDPSERVER]: Adding New Client"); | 291 | m_log.Debug("[UDPSERVER]: Adding New Client"); |
@@ -407,7 +403,6 @@ namespace OpenSim.Region.ClientStack | |||
407 | { | 403 | { |
408 | clientCircuits.Remove(sendto); | 404 | clientCircuits.Remove(sendto); |
409 | 405 | ||
410 | |||
411 | clientCircuits_reverse.Remove(circuitcode); | 406 | clientCircuits_reverse.Remove(circuitcode); |
412 | } | 407 | } |
413 | } | 408 | } |