Formatting cleanup.
parent
e34f537a1a
commit
5752c1f5c2
|
@ -319,10 +319,11 @@ namespace OpenSim.Framework.Servers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(KeyNotFoundException) {}
|
catch(KeyNotFoundException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -478,7 +479,6 @@ namespace OpenSim.Framework.Servers
|
||||||
|
|
||||||
private bool HandleAgentRequest(IHttpAgentHandler handler, OSHttpRequest request, OSHttpResponse response)
|
private bool HandleAgentRequest(IHttpAgentHandler handler, OSHttpRequest request, OSHttpResponse response)
|
||||||
{
|
{
|
||||||
|
|
||||||
// In the case of REST, then handler is responsible for ALL aspects of
|
// In the case of REST, then handler is responsible for ALL aspects of
|
||||||
// the request/response handling. Nothing is done here, not even encoding.
|
// the request/response handling. Nothing is done here, not even encoding.
|
||||||
|
|
||||||
|
@ -500,11 +500,12 @@ namespace OpenSim.Framework.Servers
|
||||||
response.StatusCode = (int)OSHttpStatusCode.ServerErrorInternalError;
|
response.StatusCode = (int)OSHttpStatusCode.ServerErrorInternalError;
|
||||||
response.OutputStream.Close();
|
response.OutputStream.Close();
|
||||||
}
|
}
|
||||||
catch(Exception){}
|
catch(Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HandleHTTPRequest(OSHttpRequest request, OSHttpResponse response)
|
public void HandleHTTPRequest(OSHttpRequest request, OSHttpResponse response)
|
||||||
|
@ -765,7 +766,10 @@ namespace OpenSim.Framework.Servers
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(KeyNotFoundException) {}
|
catch(KeyNotFoundException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
group.SetGroup(GroupID, remoteClient);
|
group.SetGroup(GroupID, remoteClient);
|
||||||
else
|
else
|
||||||
remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false);
|
remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -863,7 +862,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
grp.scriptScore = 0;
|
grp.scriptScore = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue