aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/GridServer/Main.cs')
-rw-r--r--OpenSim/Grid/GridServer/Main.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs
index 6bb4c75..d4947b3 100644
--- a/OpenSim/Grid/GridServer/Main.cs
+++ b/OpenSim/Grid/GridServer/Main.cs
@@ -149,7 +149,7 @@ namespace OpenSim.Grid.GridServer
149 /* 149 /*
150 foreach (SimProfileBase sim in m_simProfileManager.SimProfiles.Values) 150 foreach (SimProfileBase sim in m_simProfileManager.SimProfiles.Values)
151 { 151 {
152 string SimResponse = ""; 152 string SimResponse = String.Empty;
153 try 153 try
154 { 154 {
155 WebRequest CheckSim = WebRequest.Create("http://" + sim.sim_ip + ":" + sim.sim_port.ToString() + "/checkstatus/"); 155 WebRequest CheckSim = WebRequest.Create("http://" + sim.sim_ip + ":" + sim.sim_port.ToString() + "/checkstatus/");
@@ -158,7 +158,7 @@ namespace OpenSim.Grid.GridServer
158 CheckSim.ContentLength = 0; 158 CheckSim.ContentLength = 0;
159 159
160 StreamWriter stOut = new StreamWriter(CheckSim.GetRequestStream(), System.Text.Encoding.ASCII); 160 StreamWriter stOut = new StreamWriter(CheckSim.GetRequestStream(), System.Text.Encoding.ASCII);
161 stOut.Write(""); 161 stOut.Write(String.Empty);
162 stOut.Close(); 162 stOut.Close();
163 163
164 StreamReader stIn = new StreamReader(CheckSim.GetResponse().GetResponseStream()); 164 StreamReader stIn = new StreamReader(CheckSim.GetResponse().GetResponseStream());
@@ -204,9 +204,9 @@ namespace OpenSim.Grid.GridServer
204 { 204 {
205 try 205 try
206 { 206 {
207 string attri = ""; 207 string attri = String.Empty;
208 attri = configData.GetAttribute("DataBaseProvider"); 208 attri = configData.GetAttribute("DataBaseProvider");
209 if (attri == "") 209 if (attri == String.Empty)
210 { 210 {
211 GridDll = "OpenSim.Framework.Data.DB4o.dll"; 211 GridDll = "OpenSim.Framework.Data.DB4o.dll";
212 configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); 212 configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll");