* minor: remove some mono compiler warnings
parent
e98385dd74
commit
b077723a20
|
@ -50,7 +50,7 @@ namespace OpenSim.Framework.Servers
|
||||||
private HttpServerLogWriter httpserverlog = new HttpServerLogWriter();
|
private HttpServerLogWriter httpserverlog = new HttpServerLogWriter();
|
||||||
|
|
||||||
private volatile int NotSocketErrors = 0;
|
private volatile int NotSocketErrors = 0;
|
||||||
private volatile bool HTTPDRunning = false;
|
public volatile bool HTTPDRunning = false;
|
||||||
|
|
||||||
protected Thread m_workerThread;
|
protected Thread m_workerThread;
|
||||||
protected HttpListener m_httpListener;
|
protected HttpListener m_httpListener;
|
||||||
|
|
|
@ -642,13 +642,11 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
|
||||||
protected virtual void DoDelete(Hashtable request, Hashtable responsedata, UUID id, string action, ulong regionHandle)
|
protected virtual void DoDelete(Hashtable request, Hashtable responsedata, UUID id, string action, ulong regionHandle)
|
||||||
{
|
{
|
||||||
//Console.WriteLine(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle);
|
//Console.WriteLine(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle);
|
||||||
bool result = true;
|
|
||||||
if (action.Equals("release"))
|
if (action.Equals("release"))
|
||||||
{
|
m_localBackend.SendReleaseAgent(regionHandle, id, "");
|
||||||
result = m_localBackend.SendReleaseAgent(regionHandle, id, "");
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
result = m_localBackend.SendCloseAgent(regionHandle, id);
|
m_localBackend.SendCloseAgent(regionHandle, id);
|
||||||
|
|
||||||
responsedata["int_response_code"] = 200;
|
responsedata["int_response_code"] = 200;
|
||||||
responsedata["str_response_string"] = "OpenSim agent " + id.ToString();
|
responsedata["str_response_string"] = "OpenSim agent " + id.ToString();
|
||||||
|
|
Loading…
Reference in New Issue