diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Hypergrid')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/HomeAgentHandlers.cs | 2 | ||||
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HomeAgentHandlers.cs b/OpenSim/Server/Handlers/Hypergrid/HomeAgentHandlers.cs index f37f2f1..04bb9e8 100644 --- a/OpenSim/Server/Handlers/Hypergrid/HomeAgentHandlers.cs +++ b/OpenSim/Server/Handlers/Hypergrid/HomeAgentHandlers.cs | |||
@@ -85,7 +85,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
85 | data.destinationServerURI = args["destination_serveruri"]; | 85 | data.destinationServerURI = args["destination_serveruri"]; |
86 | 86 | ||
87 | } | 87 | } |
88 | catch (InvalidCastException e) | 88 | catch (InvalidCastException) |
89 | { | 89 | { |
90 | m_log.ErrorFormat("[HOME AGENT HANDLER]: Bad cast in UnpackData"); | 90 | m_log.ErrorFormat("[HOME AGENT HANDLER]: Bad cast in UnpackData"); |
91 | } | 91 | } |
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs index d9c1bd3..7137836 100644 --- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | |||
@@ -453,7 +453,6 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
453 | XmlRpcResponse response = new XmlRpcResponse(); | 453 | XmlRpcResponse response = new XmlRpcResponse(); |
454 | response.Value = hash; | 454 | response.Value = hash; |
455 | return response; | 455 | return response; |
456 | |||
457 | } | 456 | } |
458 | 457 | ||
459 | /// <summary> | 458 | /// <summary> |
@@ -471,9 +470,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
471 | //string portstr = (string)requestData["port"]; | 470 | //string portstr = (string)requestData["port"]; |
472 | if (requestData.ContainsKey("first") && requestData.ContainsKey("last")) | 471 | if (requestData.ContainsKey("first") && requestData.ContainsKey("last")) |
473 | { | 472 | { |
474 | UUID userID = UUID.Zero; | ||
475 | string first = (string)requestData["first"]; | 473 | string first = (string)requestData["first"]; |
476 | |||
477 | string last = (string)requestData["last"]; | 474 | string last = (string)requestData["last"]; |
478 | UUID uuid = m_HomeUsersService.GetUUID(first, last); | 475 | UUID uuid = m_HomeUsersService.GetUUID(first, last); |
479 | hash["UUID"] = uuid.ToString(); | 476 | hash["UUID"] = uuid.ToString(); |
@@ -482,7 +479,6 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
482 | XmlRpcResponse response = new XmlRpcResponse(); | 479 | XmlRpcResponse response = new XmlRpcResponse(); |
483 | response.Value = hash; | 480 | response.Value = hash; |
484 | return response; | 481 | return response; |
485 | |||
486 | } | 482 | } |
487 | } | 483 | } |
488 | } | 484 | } \ No newline at end of file |