Patch + minor formatting fixes.

0.6.8-post-fixes
Diva Canto 2009-10-31 19:10:33 -07:00
parent 7f4d646aea
commit 58c260140c
2 changed files with 4 additions and 4 deletions

View File

@ -3817,7 +3817,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
case 1: // DATA_ONLINE (0|1)
// TODO: implement fetching of this information
if (userProfile.CurrentAgent!=null && userProfile.CurrentAgent.AgentOnline)
if (userProfile.CurrentAgent!=null && userProfile.CurrentAgent.AgentOnline)
reply = "1";
else
reply = "0";

View File

@ -105,12 +105,12 @@ namespace OpenSim.Services.Connectors
catch (Exception e)
{
m_log.WarnFormat("[AUTHORIZATION CONNECTOR]: Unable to send authorize {0} for region {1} error thrown during comms with remote server. Reason: {2}", userID, regionID, e.Message);
message="";
message = "";
return m_ResponseOnFailure;
}
if (response==null)
if (response == null)
{
message = "Null Pointer";
message = "Null response";
return m_ResponseOnFailure;
}
m_log.DebugFormat("[AUTHORIZATION CONNECTOR] response from remote service was {0}", response.Message);