Correct a bug introduced in 1f402fdf
(Feb 7 2012) where the delete friends grid call would try and contact the wrong uri. Also fixes the build from df960d5
parent
df960d5767
commit
80ec2ac167
|
@ -903,8 +903,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
private void HandleUseCircuitCode(object o)
|
private void HandleUseCircuitCode(object o)
|
||||||
{
|
{
|
||||||
IPEndPoint remoteEndPoint;
|
IPEndPoint remoteEndPoint = null;
|
||||||
IClientAPI client;
|
IClientAPI client = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -957,7 +957,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
"[LLUDPSERVER]: UseCircuitCode handling from endpoint {0}, client {1} {2} failed. Exception {3}{4}",
|
"[LLUDPSERVER]: UseCircuitCode handling from endpoint {0}, client {1} {2} failed. Exception {3}{4}",
|
||||||
remoteEndPoint != null ? remoteEndPoint.ToString() : "n/a",
|
remoteEndPoint != null ? remoteEndPoint.ToString() : "n/a",
|
||||||
client != null ? client.Name : "unknown",
|
client != null ? client.Name : "unknown",
|
||||||
client != null ? client.AgentId : "unknown",
|
client != null ? client.AgentId.ToString() : "unknown",
|
||||||
e.Message,
|
e.Message,
|
||||||
e.StackTrace);
|
e.StackTrace);
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,7 @@ namespace OpenSim.Services.Connectors.Friends
|
||||||
public bool Delete(Dictionary<string, object> sendData, string PrincipalID, string Friend)
|
public bool Delete(Dictionary<string, object> sendData, string PrincipalID, string Friend)
|
||||||
{
|
{
|
||||||
string reply = string.Empty;
|
string reply = string.Empty;
|
||||||
string uri = m_ServerURI = "/friends";
|
string uri = m_ServerURI + "/friends";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
reply = SynchronousRestFormsRequester.MakeRequest("POST", uri, ServerUtils.BuildQueryString(sendData));
|
reply = SynchronousRestFormsRequester.MakeRequest("POST", uri, ServerUtils.BuildQueryString(sendData));
|
||||||
|
|
Loading…
Reference in New Issue