aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDr Scofield2009-05-11 09:58:36 +0000
committerDr Scofield2009-05-11 09:58:36 +0000
commit85bbcf196f208e614922d265615d43713d599351 (patch)
tree9b936918c04dca524391aff184b6875aaef54926 /OpenSim
parentSquashed commit of the following: (diff)
downloadopensim-SC-85bbcf196f208e614922d265615d43713d599351.zip
opensim-SC-85bbcf196f208e614922d265615d43713d599351.tar.gz
opensim-SC-85bbcf196f208e614922d265615d43713d599351.tar.bz2
opensim-SC-85bbcf196f208e614922d265615d43713d599351.tar.xz
adding code to check for old-style responses ("True")
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/Clients/RegionClient.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Clients/RegionClient.cs b/OpenSim/Framework/Communications/Clients/RegionClient.cs
index bd71357..fb1dc19 100644
--- a/OpenSim/Framework/Communications/Clients/RegionClient.cs
+++ b/OpenSim/Framework/Communications/Clients/RegionClient.cs
@@ -135,6 +135,11 @@ namespace OpenSim.Framework.Communications.Clients
135 catch (NullReferenceException e) 135 catch (NullReferenceException e)
136 { 136 {
137 m_log.InfoFormat("[REST COMMS]: exception on reply of DoCreateChildAgentCall {0}", e.Message); 137 m_log.InfoFormat("[REST COMMS]: exception on reply of DoCreateChildAgentCall {0}", e.Message);
138
139 // check for old style response
140 if (response.ToLower().StartsWith("true"))
141 return true;
142
138 return false; 143 return false;
139 } 144 }
140 } 145 }