diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 2f495a9..f36b2fb 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -412,7 +412,7 @@ namespace OpenSim.Framework.Servers | |||
412 | 412 | ||
413 | public void HandleHTTPRequest(HttpListenerRequest request, HttpListenerResponse response) | 413 | public void HandleHTTPRequest(HttpListenerRequest request, HttpListenerResponse response) |
414 | { | 414 | { |
415 | switch( request.HttpMethod ) | 415 | switch (request.HttpMethod) |
416 | { | 416 | { |
417 | case "OPTIONS": | 417 | case "OPTIONS": |
418 | response.StatusCode = 200; | 418 | response.StatusCode = 200; |
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index b8ad83a..344309d 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -54,9 +54,9 @@ namespace OpenSim.Framework.Servers | |||
54 | /// </summary> | 54 | /// </summary> |
55 | public virtual void Shutdown() | 55 | public virtual void Shutdown() |
56 | { | 56 | { |
57 | if(m_console != null) | 57 | if (m_console != null) |
58 | { | 58 | { |
59 | m_console.Close(); | 59 | m_console.Close(); |
60 | } | 60 | } |
61 | Environment.Exit(0); | 61 | Environment.Exit(0); |
62 | } | 62 | } |
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers | |||
112 | /// </summary> | 112 | /// </summary> |
113 | private void Notice(string msg) | 113 | private void Notice(string msg) |
114 | { | 114 | { |
115 | if(m_console != null) | 115 | if (m_console != null) |
116 | { | 116 | { |
117 | m_console.Notice(msg); | 117 | m_console.Notice(msg); |
118 | } | 118 | } |