aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
authorDiva Canto2013-07-02 16:46:35 -0700
committerDiva Canto2013-07-02 16:46:35 -0700
commit4d24bf75fd695a12683987d9803018c2ec4cae60 (patch)
treee6bff84a06ba9aaa9ebb5099fba32027a1a9b486 /OpenSim/Server
parentFix SQL statement (diff)
downloadopensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.zip
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.gz
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.bz2
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.xz
Deleted debug messages. Fixed a null ref exception on the POST handler of GridUserServerPostHandler.cs
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
index 687cf8d..7483395 100644
--- a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs
@@ -185,10 +185,12 @@ namespace OpenSim.Server.Handlers.GridUser
185 GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user); 185 GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user);
186 186
187 Dictionary<string, object> result = new Dictionary<string, object>(); 187 Dictionary<string, object> result = new Dictionary<string, object>();
188 result["result"] = guinfo.ToKeyValuePairs(); 188 if (guinfo != null)
189 result["result"] = guinfo.ToKeyValuePairs();
190 else
191 result["result"] = "null";
189 192
190 string xmlString = ServerUtils.BuildXmlResponse(result); 193 string xmlString = ServerUtils.BuildXmlResponse(result);
191
192 //m_log.DebugFormat("[GRID USER HANDLER]: resp string: {0}", xmlString); 194 //m_log.DebugFormat("[GRID USER HANDLER]: resp string: {0}", xmlString);
193 return Util.UTF8NoBomEncoding.GetBytes(xmlString); 195 return Util.UTF8NoBomEncoding.GetBytes(xmlString);
194 } 196 }