aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-30 20:48:31 +0000
committerJustin Clarke Casey2008-12-30 20:48:31 +0000
commite4c7bdc730ab2d550b8c308841049224c0cbddf6 (patch)
tree20f3c3290d294a9d099a13cc0145f2ff7875820a /OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
parent* Implement saving of region settings in OAR files (diff)
downloadopensim-SC-e4c7bdc730ab2d550b8c308841049224c0cbddf6.zip
opensim-SC-e4c7bdc730ab2d550b8c308841049224c0cbddf6.tar.gz
opensim-SC-e4c7bdc730ab2d550b8c308841049224c0cbddf6.tar.bz2
opensim-SC-e4c7bdc730ab2d550b8c308841049224c0cbddf6.tar.xz
* Remove mono compiler warnings
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
index 77aad6b..92c9463 100644
--- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
+++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
@@ -191,7 +191,8 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
191 os.Close(); 191 os.Close();
192 //m_log.InfoFormat("[REST COMMS]: Posted ChildAgentUpdate request to remote sim {0}", uri); 192 //m_log.InfoFormat("[REST COMMS]: Posted ChildAgentUpdate request to remote sim {0}", uri);
193 } 193 }
194 catch (WebException ex) 194 //catch (WebException ex)
195 catch
195 { 196 {
196 //m_log.InfoFormat("[REST COMMS]: Bad send on ChildAgentUpdate {0}", ex.Message); 197 //m_log.InfoFormat("[REST COMMS]: Bad send on ChildAgentUpdate {0}", ex.Message);
197 198
@@ -200,7 +201,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
200 201
201 // Let's wait for the response 202 // Let's wait for the response
202 //m_log.Info("[REST COMMS]: Waiting for a reply after ChildAgentUpdate"); 203 //m_log.Info("[REST COMMS]: Waiting for a reply after ChildAgentUpdate");
203 string reply = null; 204
204 try 205 try
205 { 206 {
206 WebResponse webResponse = ChildUpdateRequest.GetResponse(); 207 WebResponse webResponse = ChildUpdateRequest.GetResponse();
@@ -210,7 +211,8 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
210 } 211 }
211 212
212 StreamReader sr = new StreamReader(webResponse.GetResponseStream()); 213 StreamReader sr = new StreamReader(webResponse.GetResponseStream());
213 reply = sr.ReadToEnd().Trim(); 214 //reply = sr.ReadToEnd().Trim();
215 sr.ReadToEnd().Trim();
214 sr.Close(); 216 sr.Close();
215 //m_log.InfoFormat("[REST COMMS]: ChilAgentUpdate reply was {0} ", reply); 217 //m_log.InfoFormat("[REST COMMS]: ChilAgentUpdate reply was {0} ", reply);
216 218