diff options
author | Jeff Ames | 2008-05-14 05:11:23 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 05:11:23 +0000 |
commit | c995d60d37032db3198b8496e186aa7a892dc7a8 (patch) | |
tree | 826147e66f61c812897d9b0acdb16ebfeb30d4d3 /OpenSim/Framework/Servers | |
parent | * Added 3 warnings in response to the warnings. Adam, read the warnings. (diff) | |
download | opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.zip opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.gz opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.bz2 opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.xz |
Formatting cleanup.
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 | } |