aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
authorUbitUmarov2013-09-19 11:33:38 +0100
committerUbitUmarov2013-09-19 11:33:38 +0100
commit8ad7f2ce2d1c9197baf72d52ad4c4a818d0bfe43 (patch)
tree6b1124f8176b2977f03a067bc04da0266ac9c7c3 /OpenSim/Services/Connectors
parentMerge branch 'avination-current' of ssh://3dhosting.de/var/git/careminster in... (diff)
parentMono 2.0 fix - call ToArray() explicitly (diff)
downloadopensim-SC_OLD-8ad7f2ce2d1c9197baf72d52ad4c4a818d0bfe43.zip
opensim-SC_OLD-8ad7f2ce2d1c9197baf72d52ad4c4a818d0bfe43.tar.gz
opensim-SC_OLD-8ad7f2ce2d1c9197baf72d52ad4c4a818d0bfe43.tar.bz2
opensim-SC_OLD-8ad7f2ce2d1c9197baf72d52ad4c4a818d0bfe43.tar.xz
Merge branch 'avination-current' of ssh://3dhosting.de/var/git/careminster into avination-current
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
index 4b502b7..8b702e0 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
@@ -137,7 +137,13 @@ namespace OpenSim.Services.Connectors
137 137
138 string prefix = id.Substring(0, 2).ToLower(); 138 string prefix = id.Substring(0, 2).ToLower();
139 139
140 string host = m_UriMap[prefix]; 140 string host;
141
142 // HG URLs will not be valid UUIDS
143 if (m_UriMap.ContainsKey(prefix))
144 host = m_UriMap[prefix];
145 else
146 host = m_UriMap["00"];
141 147
142 serverUri.Host = host; 148 serverUri.Host = host;
143 149