diff options
author | Diva Canto | 2009-09-24 05:48:35 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-24 05:48:35 -0700 |
commit | 2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5 (patch) | |
tree | 419c12ca39f699517fa455339c857d831b3d206c /OpenSim/Services | |
parent | * Send Updated Information Packet to Clients after updating estate settings. (diff) | |
download | opensim-SC_OLD-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.zip opensim-SC_OLD-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.gz opensim-SC_OLD-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.bz2 opensim-SC_OLD-2824bbc47b30ab6fb9a12bce3201bb5b79b20bd5.tar.xz |
Changed name of the hyperlink XMLRPC method to linkk-region, so that it doesn't conflict with the existing one.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs b/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs index 616c2c1..b5e8743 100644 --- a/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs +++ b/OpenSim/Services/Connectors/Grid/HypergridServiceConnector.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Services.Connectors.Grid | |||
66 | IList paramList = new ArrayList(); | 66 | IList paramList = new ArrayList(); |
67 | paramList.Add(hash); | 67 | paramList.Add(hash); |
68 | 68 | ||
69 | XmlRpcRequest request = new XmlRpcRequest("link_region", paramList); | 69 | XmlRpcRequest request = new XmlRpcRequest("linkk_region", paramList); |
70 | string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/"; | 70 | string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/"; |
71 | m_log.Debug("[HGrid]: Linking to " + uri); | 71 | m_log.Debug("[HGrid]: Linking to " + uri); |
72 | XmlRpcResponse response = request.Send(uri, 10000); | 72 | XmlRpcResponse response = request.Send(uri, 10000); |
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 1b297dc..01ffa1d 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -71,7 +71,9 @@ namespace OpenSim.Services.GridService | |||
71 | m_log.WarnFormat("[GRID SERVICE]: Region {0} already registered in scope {1}.", regionInfos.RegionID, scopeID); | 71 | m_log.WarnFormat("[GRID SERVICE]: Region {0} already registered in scope {1}.", regionInfos.RegionID, scopeID); |
72 | return false; | 72 | return false; |
73 | } | 73 | } |
74 | if (m_Database.Get((int)regionInfos.RegionLocX, (int)regionInfos.RegionLocY, scopeID) != null) | 74 | // This needs better sanity testing. What if regionInfo is registering in |
75 | // overlapping coords? | ||
76 | if (m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID) != null) | ||
75 | { | 77 | { |
76 | m_log.WarnFormat("[GRID SERVICE]: Region {0} tried to register in coordinates {1}, {2} which are already in use in scope {3}.", | 78 | m_log.WarnFormat("[GRID SERVICE]: Region {0} tried to register in coordinates {1}, {2} which are already in use in scope {3}.", |
77 | regionInfos.RegionID, regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID); | 79 | regionInfos.RegionID, regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID); |