aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-30 22:02:04 +0000
committerJustin Clarke Casey2008-08-30 22:02:04 +0000
commitcd5f8cf9ec10483331bbf3cc6795cd8937a19f64 (patch)
tree69d256a483d73fd1daa95691a400c975baac20d8 /OpenSim/Region/Environment
parent* If a general alert message is sent out, only send it to avatars in the scen... (diff)
downloadopensim-SC_OLD-cd5f8cf9ec10483331bbf3cc6795cd8937a19f64.zip
opensim-SC_OLD-cd5f8cf9ec10483331bbf3cc6795cd8937a19f64.tar.gz
opensim-SC_OLD-cd5f8cf9ec10483331bbf3cc6795cd8937a19f64.tar.bz2
opensim-SC_OLD-cd5f8cf9ec10483331bbf3cc6795cd8937a19f64.tar.xz
* Pragma out deprecation warning and comment out to remove other warnings in the OGP module
* Thanks to Teravus for the heads up on this.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
index 0c15637..90b7bcf 100644
--- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
+++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs
@@ -123,8 +123,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
123 { 123 {
124 try 124 try
125 { 125 {
126#pragma warning disable 0612
126 // Mono does not implement the ServicePointManager.ServerCertificateValidationCallback yet! Don't remove this! 127 // Mono does not implement the ServicePointManager.ServerCertificateValidationCallback yet! Don't remove this!
127 ServicePointManager.CertificatePolicy = new MonoCert(); 128 ServicePointManager.CertificatePolicy = new MonoCert();
129#pragma warning restore 0612
128 } 130 }
129 catch (Exception) 131 catch (Exception)
130 { 132 {
@@ -389,7 +391,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
389 Parameter = (LLSDArray)((LLSD)requestMap["parameter"]); 391 Parameter = (LLSDArray)((LLSD)requestMap["parameter"]);
390 } 392 }
391 393
392 int version = 1; 394 //int version = 1;
393 int estateID = 1; 395 int estateID = 1;
394 int parentEstateID = 1; 396 int parentEstateID = 1;
395 LLUUID regionID = LLUUID.Zero; 397 LLUUID regionID = LLUUID.Zero;
@@ -398,10 +400,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
398 for (int i = 0; i < Parameter.Count; i++) 400 for (int i = 0; i < Parameter.Count; i++)
399 { 401 {
400 LLSDMap item = (LLSDMap)Parameter[i]; 402 LLSDMap item = (LLSDMap)Parameter[i];
401 if (item.ContainsKey("version")) 403// if (item.ContainsKey("version"))
402 { 404// {
403 version = item["version"].AsInteger(); 405// version = item["version"].AsInteger();
404 } 406// }
405 if (item.ContainsKey("estate_id")) 407 if (item.ContainsKey("estate_id"))
406 { 408 {
407 estateID = item["estate_id"].AsInteger(); 409 estateID = item["estate_id"].AsInteger();