aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client
diff options
context:
space:
mode:
authorJeff Ames2009-03-01 09:15:31 +0000
committerJeff Ames2009-03-01 09:15:31 +0000
commit808e4a847ab699eb3f82cf8bb5de9e4688512426 (patch)
tree2d0eb4827c79a83c304c43dac98a08ea13095f6f /OpenSim/Client
parentAdded check so Util.ReadSettingsFromIniFile doesn't try to set static fields. (diff)
downloadopensim-SC_OLD-808e4a847ab699eb3f82cf8bb5de9e4688512426.zip
opensim-SC_OLD-808e4a847ab699eb3f82cf8bb5de9e4688512426.tar.gz
opensim-SC_OLD-808e4a847ab699eb3f82cf8bb5de9e4688512426.tar.bz2
opensim-SC_OLD-808e4a847ab699eb3f82cf8bb5de9e4688512426.tar.xz
Update svn properties, add copyright headers, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Client')
-rw-r--r--OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
index 1eceef6..2f26ae3 100644
--- a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
+++ b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
@@ -260,7 +260,7 @@ namespace OpenSim.Client.MXP.PacketHandler
260 } 260 }
261 261
262 string[] nameParts=participantName.Split(' '); 262 string[] nameParts=participantName.Split(' ');
263 if(nameParts.Length!=2) 263 if (nameParts.Length != 2)
264 { 264 {
265 m_log.Info("Login failed as user name is not formed of first and last name separated by space: " + participantName); 265 m_log.Info("Login failed as user name is not formed of first and last name separated by space: " + participantName);
266 return false; 266 return false;
@@ -370,7 +370,6 @@ namespace OpenSim.Client.MXP.PacketHandler
370 370
371 foreach (MXPClientView clientView in Clients) 371 foreach (MXPClientView clientView in Clients)
372 { 372 {
373
374 int messagesProcessedCount = 0; 373 int messagesProcessedCount = 0;
375 Session session = clientView.Session; 374 Session session = clientView.Session;
376 375
@@ -380,7 +379,6 @@ namespace OpenSim.Client.MXP.PacketHandler
380 379
381 if (message.GetType() == typeof(LeaveRequestMessage)) 380 if (message.GetType() == typeof(LeaveRequestMessage))
382 { 381 {
383
384 LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)MessageFactory.Current.ReserveMessage( 382 LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)MessageFactory.Current.ReserveMessage(
385 typeof(LeaveResponseMessage)); 383 typeof(LeaveResponseMessage));
386 384
@@ -400,7 +398,6 @@ namespace OpenSim.Client.MXP.PacketHandler
400 } 398 }
401 if (message.GetType() == typeof(LeaveResponseMessage)) 399 if (message.GetType() == typeof(LeaveResponseMessage))
402 { 400 {
403
404 LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)message; 401 LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)message;
405 402
406 m_log.Info("[MXP ClientStack] Session leave response: " + session.SessionId + " (" + (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + session.RemoteEndPoint.Port + ")"); 403 m_log.Info("[MXP ClientStack] Session leave response: " + session.SessionId + " (" + (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + session.RemoteEndPoint.Port + ")");