diff options
author | Jeff Ames | 2007-12-06 01:41:41 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-06 01:41:41 +0000 |
commit | 4bde56457f574060c1aaaca8effba1f6fe00b6c7 (patch) | |
tree | 60c081be8f3d00da63940efd81ce88de6fe1f2a5 /OpenSim/Grid/UserServer | |
parent | Some refactoring of the RestObjectPoster (and related classes). (diff) | |
download | opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2 opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz |
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to 'OpenSim/Grid/UserServer')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index d2ad6ae..74352ac 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Grid.UserServer | |||
92 | m_loginService = new UserLoginService(m_userManager, Cfg, Cfg.DefaultStartupMsg); | 92 | m_loginService = new UserLoginService(m_userManager, Cfg, Cfg.DefaultStartupMsg); |
93 | 93 | ||
94 | MainLog.Instance.Verbose("REGION", "Starting HTTP process"); | 94 | MainLog.Instance.Verbose("REGION", "Starting HTTP process"); |
95 | BaseHttpServer httpServer = new BaseHttpServer((int) Cfg.HttpPort); | 95 | BaseHttpServer httpServer = new BaseHttpServer(Cfg.HttpPort); |
96 | 96 | ||
97 | httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); | 97 | httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); |
98 | 98 | ||
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index ccd3548..f404cce 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Grid.UserServer | |||
81 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + | 81 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + |
82 | SimInfo.regionLocY); | 82 | SimInfo.regionLocY); |
83 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); | 83 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
84 | response.SimPort = (Int32)SimInfo.serverPort; | 84 | response.SimPort = (uint) SimInfo.serverPort; |
85 | response.RegionX = SimInfo.regionLocX; | 85 | response.RegionX = SimInfo.regionLocX; |
86 | response.RegionY = SimInfo.regionLocY; | 86 | response.RegionY = SimInfo.regionLocY; |
87 | 87 | ||
@@ -149,7 +149,7 @@ namespace OpenSim.Grid.UserServer | |||
149 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + | 149 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + |
150 | SimInfo.regionLocY); | 150 | SimInfo.regionLocY); |
151 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); | 151 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
152 | response.SimPort = (Int32)SimInfo.serverPort; | 152 | response.SimPort = (uint) SimInfo.serverPort; |
153 | response.RegionX = SimInfo.regionLocX; | 153 | response.RegionX = SimInfo.regionLocX; |
154 | response.RegionY = SimInfo.regionLocY; | 154 | response.RegionY = SimInfo.regionLocY; |
155 | 155 | ||