From 6a1b787436cc59043a26a296781e7a7b5ea0c67b Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 14 May 2008 05:33:32 +0000 Subject: More formatting cleanup. --- OpenSim/Framework/PacketPool.cs | 2 +- OpenSim/Framework/Servers/BaseHttpServer.cs | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs index af8efe8..4e71d5e 100644 --- a/OpenSim/Framework/PacketPool.cs +++ b/OpenSim/Framework/PacketPool.cs @@ -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; diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index f36b2fb..50f4e23 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -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) { -- cgit v1.1