Update svn properties, formatting cleanup.

0.6.5-rc1
Jeff Ames 2009-03-12 15:28:30 +00:00
parent 3865f777bd
commit fb258c5ed9
2 changed files with 10 additions and 10 deletions

View File

@ -280,22 +280,22 @@ namespace OpenSim.Data
set { originUUID = value; }
}
public RegionInfo ToRegionInfo( )
public RegionInfo ToRegionInfo()
{
return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort, serverURI );
return RegionInfo.Create(UUID, regionName, regionLocX, regionLocY, serverIP, httpPort, serverPort, remotingPort, serverURI);
}
public static RegionProfileData FromRegionInfo( RegionInfo regionInfo )
public static RegionProfileData FromRegionInfo(RegionInfo regionInfo)
{
if( regionInfo == null )
if (regionInfo == null)
{
return null;
}
return Create(regionInfo.RegionID, regionInfo.RegionName, regionInfo.RegionLocX,
regionInfo.RegionLocY, regionInfo.ExternalHostName,
(uint) regionInfo.ExternalEndPoint.Port, regionInfo.HttpPort, regionInfo.RemotingPort,
regionInfo.ServerURI);
regionInfo.RegionLocY, regionInfo.ExternalHostName,
(uint) regionInfo.ExternalEndPoint.Port, regionInfo.HttpPort, regionInfo.RemotingPort,
regionInfo.ServerURI);
}
public static RegionProfileData Create(UUID regionID, string regionName, uint locX, uint locY, string externalHostName, uint regionPort, uint httpPort, uint remotingPort, string serverUri)

View File

@ -318,7 +318,7 @@ namespace OpenSim.Framework.Communications
return GoodLogin;
}
protected virtual bool TryAuthenticateLLSDLogin( string firstname, string lastname, string passwd, out UserProfileData userProfile)
protected virtual bool TryAuthenticateLLSDLogin(string firstname, string lastname, string passwd, out UserProfileData userProfile)
{
bool GoodLogin = false;
userProfile = GetTheUser(firstname, lastname);
@ -369,7 +369,7 @@ namespace OpenSim.Framework.Communications
}
m_log.Info("[LOGIN]: LLSD Login Requested for: '" + firstname+"' '"+lastname+"' / "+passwd);
if (!TryAuthenticateLLSDLogin( firstname, lastname, passwd, out userProfile))
if (!TryAuthenticateLLSDLogin(firstname, lastname, passwd, out userProfile))
{
return logResponse.CreateLoginFailedResponseLLSD();
}
@ -985,7 +985,7 @@ namespace OpenSim.Framework.Communications
m_log.Error("[LOGIN]: Sending user to default region " + defaultHandle + " instead");
regionInfo = GetRegionInfo(defaultHandle);
if( regionInfo == null )
if (regionInfo == null)
{
m_log.ErrorFormat("[LOGIN]: No default region available. Aborting.");
return false;