diff options
Diffstat (limited to 'OpenSim/Framework/RegionLoader/Web')
-rw-r--r-- | OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs index 80acbae..8a1a038 100644 --- a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs +++ b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs | |||
@@ -52,8 +52,8 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
52 | else | 52 | else |
53 | { | 53 | { |
54 | IniConfig startupConfig = (IniConfig) m_configSouce.Configs["Startup"]; | 54 | IniConfig startupConfig = (IniConfig) m_configSouce.Configs["Startup"]; |
55 | string url = startupConfig.GetString("regionload_webserver_url", "").Trim(); | 55 | string url = startupConfig.GetString("regionload_webserver_url", System.String.Empty).Trim(); |
56 | if (url == "") | 56 | if (url == System.String.Empty) |
57 | { | 57 | { |
58 | MainLog.Instance.Error("WEBLOADER", "Unable to load webserver URL - URL was empty."); | 58 | MainLog.Instance.Error("WEBLOADER", "Unable to load webserver URL - URL was empty."); |
59 | return null; | 59 | return null; |
@@ -66,7 +66,7 @@ namespace OpenSim.Framework.RegionLoader.Web | |||
66 | HttpWebResponse webResponse = (HttpWebResponse) webRequest.GetResponse(); | 66 | HttpWebResponse webResponse = (HttpWebResponse) webRequest.GetResponse(); |
67 | MainLog.Instance.Debug("WEBLOADER", "Downloading Region Information From Remote Server..."); | 67 | MainLog.Instance.Debug("WEBLOADER", "Downloading Region Information From Remote Server..."); |
68 | StreamReader reader = new StreamReader(webResponse.GetResponseStream()); | 68 | StreamReader reader = new StreamReader(webResponse.GetResponseStream()); |
69 | string xmlSource = ""; | 69 | string xmlSource = System.String.Empty; |
70 | string tempStr = reader.ReadLine(); | 70 | string tempStr = reader.ReadLine(); |
71 | while (tempStr != null) | 71 | while (tempStr != null) |
72 | { | 72 | { |