* minor: remove some mono compiler warnings

0.6.2-post-fixes
Justin Clarke Casey 2009-01-05 20:58:57 +00:00
parent e98385dd74
commit b077723a20
2 changed files with 4 additions and 6 deletions

View File

@ -50,7 +50,7 @@ namespace OpenSim.Framework.Servers
private HttpServerLogWriter httpserverlog = new HttpServerLogWriter();
private volatile int NotSocketErrors = 0;
private volatile bool HTTPDRunning = false;
public volatile bool HTTPDRunning = false;
protected Thread m_workerThread;
protected HttpListener m_httpListener;

View File

@ -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)
{
//Console.WriteLine(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle);
bool result = true;
if (action.Equals("release"))
{
result = m_localBackend.SendReleaseAgent(regionHandle, id, "");
}
m_localBackend.SendReleaseAgent(regionHandle, id, "");
else
result = m_localBackend.SendCloseAgent(regionHandle, id);
m_localBackend.SendCloseAgent(regionHandle, id);
responsedata["int_response_code"] = 200;
responsedata["str_response_string"] = "OpenSim agent " + id.ToString();