From 6a1b787436cc59043a26a296781e7a7b5ea0c67b Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 14 May 2008 05:33:32 +0000 Subject: More formatting cleanup. --- ThirdParty/3Di/LoadBalancer/TcpClient.cs | 8 +++++--- ThirdParty/3Di/LoadBalancer/TcpServer.cs | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'ThirdParty/3Di/LoadBalancer') diff --git a/ThirdParty/3Di/LoadBalancer/TcpClient.cs b/ThirdParty/3Di/LoadBalancer/TcpClient.cs index c794def..1acba24 100644 --- a/ThirdParty/3Di/LoadBalancer/TcpClient.cs +++ b/ThirdParty/3Di/LoadBalancer/TcpClient.cs @@ -181,8 +181,10 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer } /* - public void recevie() { - if (mConnection == null) { + public void receive() + { + if (mConnection == null) + { throw new Exception("client not initialized"); } try @@ -191,7 +193,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer } catch (Exception e) { - Console.WriteLine(e.ToString()); + Console.WriteLine(e.ToString()); mConnection = null; } } diff --git a/ThirdParty/3Di/LoadBalancer/TcpServer.cs b/ThirdParty/3Di/LoadBalancer/TcpServer.cs index eb57b2d..1457299 100644 --- a/ThirdParty/3Di/LoadBalancer/TcpServer.cs +++ b/ThirdParty/3Di/LoadBalancer/TcpServer.cs @@ -150,7 +150,8 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer state.ms_ptr.Read(packet, 0, state.header.numbytes); /* - for (int i=0; i