mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Formatting cleanup.
This commit is contained in:
@@ -196,7 +196,7 @@ namespace OpenSim.Framework.Communications.Capabilities
|
||||
/// <param name="restMethod"></param>
|
||||
public void DeregisterHandlers()
|
||||
{
|
||||
foreach(string capsName in m_capsHandlers.Caps)
|
||||
foreach (string capsName in m_capsHandlers.Caps)
|
||||
{
|
||||
m_capsHandlers.Remove(capsName);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ using libsecondlife;
|
||||
namespace OpenSim.Framework.Communications.Capabilities
|
||||
{
|
||||
/// <summary>
|
||||
/// Borrowed from (a older version of ) libsl for now, as their new llsd code doesn't work we our decoding code.
|
||||
/// Borrowed from (a older version of) libsl for now, as their new llsd code doesn't work we our decoding code.
|
||||
/// </summary>
|
||||
public static class LLSD
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace OpenSim.Framework
|
||||
{
|
||||
public delegate void restart(RegionInfo thisRegion);
|
||||
|
||||
//public delegate void regionup ( RegionInfo thisRegion );
|
||||
//public delegate void regionup (RegionInfo thisRegion);
|
||||
|
||||
public enum RegionStatus : int
|
||||
{
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace OpenSim.Framework
|
||||
{
|
||||
PacketType type=packet.Type;
|
||||
|
||||
if(pool[type] == null)
|
||||
if (pool[type] == null)
|
||||
{
|
||||
pool[type] = new Stack();
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace OpenSim.Framework
|
||||
get
|
||||
{
|
||||
// Old one defaults to IPv6
|
||||
//return new IPEndPoint( Dns.GetHostAddresses( m_externalHostName )[0], m_internalEndPoint.Port );
|
||||
//return new IPEndPoint(Dns.GetHostAddresses(m_externalHostName)[0], m_internalEndPoint.Port);
|
||||
|
||||
IPAddress ia = null;
|
||||
// If it is already an IP, don't resolve it - just return directly
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace OpenSim.Framework
|
||||
get
|
||||
{
|
||||
// Old one defaults to IPv6
|
||||
//return new IPEndPoint( Dns.GetHostAddresses( m_externalHostName )[0], m_internalEndPoint.Port );
|
||||
//return new IPEndPoint(Dns.GetHostAddresses(m_externalHostName)[0], m_internalEndPoint.Port);
|
||||
|
||||
IPAddress ia = null;
|
||||
// If it is already an IP, don't resolve it - just return directly
|
||||
|
||||
@@ -412,7 +412,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
public void HandleHTTPRequest(HttpListenerRequest request, HttpListenerResponse response)
|
||||
{
|
||||
switch( request.HttpMethod )
|
||||
switch (request.HttpMethod)
|
||||
{
|
||||
case "OPTIONS":
|
||||
response.StatusCode = 200;
|
||||
|
||||
@@ -54,9 +54,9 @@ namespace OpenSim.Framework.Servers
|
||||
/// </summary>
|
||||
public virtual void Shutdown()
|
||||
{
|
||||
if(m_console != null)
|
||||
if (m_console != null)
|
||||
{
|
||||
m_console.Close();
|
||||
m_console.Close();
|
||||
}
|
||||
Environment.Exit(0);
|
||||
}
|
||||
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers
|
||||
/// </summary>
|
||||
private void Notice(string msg)
|
||||
{
|
||||
if(m_console != null)
|
||||
if (m_console != null)
|
||||
{
|
||||
m_console.Notice(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user