* Move common string aggregation for caps seed path to a method in CapsUtil

This commit is contained in:
Justin Clarke Casey
2009-01-06 18:06:53 +00:00
parent e8dba51247
commit 715a776f7d
6 changed files with 33 additions and 15 deletions

View File

@@ -309,9 +309,8 @@ namespace OpenSim.Grid.UserServer
response.RegionX = regionInfo.regionLocX;
response.RegionY = regionInfo.regionLocY;
//Not sure if the + "/CAPS/" should in fact be +"CAPS/" depending if there is already a / as part of httpServerURI
string capsPath = CapsUtil.GetRandomCapsPath();
response.SeedCapability = regionInfo.httpServerURI + "CAPS/" + capsPath + "0000/";
response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath);
// Notify the target of an incoming user
m_log.InfoFormat(