mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Deleted debug messages. Fixed a null ref exception on the POST handler of GridUserServerPostHandler.cs
This commit is contained in:
@@ -185,10 +185,12 @@ namespace OpenSim.Server.Handlers.GridUser
|
||||
GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user);
|
||||
|
||||
Dictionary<string, object> result = new Dictionary<string, object>();
|
||||
result["result"] = guinfo.ToKeyValuePairs();
|
||||
if (guinfo != null)
|
||||
result["result"] = guinfo.ToKeyValuePairs();
|
||||
else
|
||||
result["result"] = "null";
|
||||
|
||||
string xmlString = ServerUtils.BuildXmlResponse(result);
|
||||
|
||||
//m_log.DebugFormat("[GRID USER HANDLER]: resp string: {0}", xmlString);
|
||||
return Util.UTF8NoBomEncoding.GetBytes(xmlString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user