More formatting cleanup.

This commit is contained in:
Jeff Ames
2008-05-14 05:33:32 +00:00
parent c995d60d37
commit 6a1b787436
28 changed files with 173 additions and 162 deletions

View File

@@ -159,7 +159,7 @@ namespace OpenSim.Framework
return; // packet pool disabled
/* // Commented out to remove a compiler warning. :)
lock(pool)
lock (pool)
{
PacketType type=packet.Type;

View File

@@ -372,8 +372,14 @@ namespace OpenSim.Framework.Servers
LLSD llsdRequest = null;
LLSD llsdResponse = null;
try { llsdRequest = LLSDParser.DeserializeXml(requestBody); }
catch (Exception ex) { m_log.Warn("[HTTPD]: Error - " + ex.Message); }
try
{
llsdRequest = LLSDParser.DeserializeXml(requestBody);
}
catch (Exception ex)
{
m_log.Warn("[HTTPD]: Error - " + ex.Message);
}
if (llsdRequest != null && m_llsdHandler != null)
{