aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
diff options
context:
space:
mode:
authorMike Mazur2008-08-19 09:24:15 +0000
committerMike Mazur2008-08-19 09:24:15 +0000
commitc74f7387ec27144fa8ea70faae7a2def7defdd3d (patch)
tree4eaeedd79d611d47cde4c8e54f278fca3b9930ba /ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
parentConvert LoadBalancer and RegionProxy plugins to use XML manifests. Fixes (diff)
downloadopensim-SC_OLD-c74f7387ec27144fa8ea70faae7a2def7defdd3d.zip
opensim-SC_OLD-c74f7387ec27144fa8ea70faae7a2def7defdd3d.tar.gz
opensim-SC_OLD-c74f7387ec27144fa8ea70faae7a2def7defdd3d.tar.bz2
opensim-SC_OLD-c74f7387ec27144fa8ea70faae7a2def7defdd3d.tar.xz
Correctly convert port to int.
Diffstat (limited to 'ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs')
-rw-r--r--ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
index cc0f2f5..a724a23 100644
--- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
+++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
@@ -140,7 +140,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
140 { 140 {
141 m_log.Info("[BALANCER] " + "Entering RegionStatus()"); 141 m_log.Info("[BALANCER] " + "Entering RegionStatus()");
142 142
143 int src_port = (int) request.Params[0]; 143 int src_port = Convert.ToInt32(request.Params[0]);
144 Scene scene; 144 Scene scene;
145 // try to get the scene object 145 // try to get the scene object
146 RegionInfo src_region = SearchRegionFromPortNum(src_port); 146 RegionInfo src_region = SearchRegionFromPortNum(src_port);