diff options
author | Adam Frisby | 2008-04-18 09:35:24 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-18 09:35:24 +0000 |
commit | a2b32bdd6fb9d6ceab2a2ac753102b4a458247a3 (patch) | |
tree | 88d808954e4eeed27646edac3922f744da1eaff7 /OpenSim/Region/Environment/Scenes/SceneManager.cs | |
parent | * Added lock persistence (diff) | |
download | opensim-SC-a2b32bdd6fb9d6ceab2a2ac753102b4a458247a3.zip opensim-SC-a2b32bdd6fb9d6ceab2a2ac753102b4a458247a3.tar.gz opensim-SC-a2b32bdd6fb9d6ceab2a2ac753102b4a458247a3.tar.bz2 opensim-SC-a2b32bdd6fb9d6ceab2a2ac753102b4a458247a3.tar.xz |
* Fixed two compiler warnings dealing with IPAddress equality.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 42a77dd..102be30 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -297,9 +297,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
297 | { | 297 | { |
298 | foreach (Scene mscene in m_localScenes) | 298 | foreach (Scene mscene in m_localScenes) |
299 | { | 299 | { |
300 | // .NET WEIRDNESS ALERT: need to compare the long | 300 | if((mscene.RegionInfo.InternalEndPoint.Address.Equals(ipEndPoint.Address.Address)) && |
301 | // values of address... | ||
302 | if ((mscene.RegionInfo.InternalEndPoint.Address.Address == ipEndPoint.Address.Address) && | ||
303 | (mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port)) | 301 | (mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port)) |
304 | { | 302 | { |
305 | scene = mscene; | 303 | scene = mscene; |