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/UserLoginService.cs | |
parent | Some refactoring of the RestObjectPoster (and related classes). (diff) | |
download | opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2 opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz |
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to 'OpenSim/Grid/UserServer/UserLoginService.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||