diff options
author | Jeff Ames | 2008-05-14 05:33:32 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 05:33:32 +0000 |
commit | 6a1b787436cc59043a26a296781e7a7b5ea0c67b (patch) | |
tree | 10f55a7b0abfdc47f103d40f13f3cae530c13581 /ThirdParty | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC-6a1b787436cc59043a26a296781e7a7b5ea0c67b.zip opensim-SC-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.gz opensim-SC-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.bz2 opensim-SC-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.xz |
More formatting cleanup.
Diffstat (limited to 'ThirdParty')
-rw-r--r-- | ThirdParty/3Di/LoadBalancer/TcpClient.cs | 8 | ||||
-rw-r--r-- | ThirdParty/3Di/LoadBalancer/TcpServer.cs | 3 |
2 files changed, 7 insertions, 4 deletions
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 | |||
181 | } | 181 | } |
182 | 182 | ||
183 | /* | 183 | /* |
184 | public void recevie() { | 184 | public void receive() |
185 | if (mConnection == null) { | 185 | { |
186 | if (mConnection == null) | ||
187 | { | ||
186 | throw new Exception("client not initialized"); | 188 | throw new Exception("client not initialized"); |
187 | } | 189 | } |
188 | try | 190 | try |
@@ -191,7 +193,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer | |||
191 | } | 193 | } |
192 | catch (Exception e) | 194 | catch (Exception e) |
193 | { | 195 | { |
194 | Console.WriteLine(e.ToString()); | 196 | Console.WriteLine(e.ToString()); |
195 | mConnection = null; | 197 | mConnection = null; |
196 | } | 198 | } |
197 | } | 199 | } |
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 | |||
150 | state.ms_ptr.Read(packet, 0, state.header.numbytes); | 150 | state.ms_ptr.Read(packet, 0, state.header.numbytes); |
151 | 151 | ||
152 | /* | 152 | /* |
153 | for (int i=0; i<state.header.numbytes; i++) { | 153 | for (int i=0; i<state.header.numbytes; i++) |
154 | { | ||
154 | System.Console.Write(packet[i] + " "); | 155 | System.Console.Write(packet[i] + " "); |
155 | } | 156 | } |
156 | System.Console.WriteLine(); | 157 | System.Console.WriteLine(); |