Fix a regression in BaseHttpServer.HandleXmlRpcRequests() from recent c6e3752

Accidentally make responseString null by default instead of String.Empty.
It needs to be something in case the XmlRpcRequest deserialize throws an exception due to bad xml (a failure which we silently swallow!)
0.7.4.1
Justin Clark-Casey (justincc) 2012-06-14 04:29:15 +01:00
parent 2c6555021f
commit f4b02f8e39
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ namespace OpenSim.Framework.Servers.HttpServer
requestStream.Close(); requestStream.Close();
//m_log.Debug(requestBody); //m_log.Debug(requestBody);
requestBody = requestBody.Replace("<base64></base64>", ""); requestBody = requestBody.Replace("<base64></base64>", "");
string responseString = null; string responseString = String.Empty;
XmlRpcRequest xmlRprcRequest = null; XmlRpcRequest xmlRprcRequest = null;
try try