aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2011-05-27 08:53:26 -0700
committerDiva Canto2011-05-27 08:53:26 -0700
commit4087a453dc90356d8e62d371165b427096f5c26e (patch)
tree094dc828546b2a93c4e64e41e71fbcf9b1f11588
parentHG inventory transfers over the profile working. (diff)
downloadopensim-SC_OLD-4087a453dc90356d8e62d371165b427096f5c26e.zip
opensim-SC_OLD-4087a453dc90356d8e62d371165b427096f5c26e.tar.gz
opensim-SC_OLD-4087a453dc90356d8e62d371165b427096f5c26e.tar.bz2
opensim-SC_OLD-4087a453dc90356d8e62d371165b427096f5c26e.tar.xz
Avoid a scary warning message about null replies from the user agent service.
-rw-r--r--OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
index eb184a5..9961164 100644
--- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
+++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
@@ -354,6 +354,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
354 string url = m_HomeUsersService.LocateUser(userID); 354 string url = m_HomeUsersService.LocateUser(userID);
355 if (url != string.Empty) 355 if (url != string.Empty)
356 hash["URL"] = url; 356 hash["URL"] = url;
357 else
358 hash["result"] = "Unable to locate user";
357 } 359 }
358 } 360 }
359 361
@@ -389,6 +391,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
389 string uui = m_HomeUsersService.GetUUI(userID, targetUserID); 391 string uui = m_HomeUsersService.GetUUI(userID, targetUserID);
390 if (uui != string.Empty) 392 if (uui != string.Empty)
391 hash["UUI"] = uui; 393 hash["UUI"] = uui;
394 else
395 hash["result"] = "User unknown";
392 } 396 }
393 397
394 XmlRpcResponse response = new XmlRpcResponse(); 398 XmlRpcResponse response = new XmlRpcResponse();