diff options
author | Justin Clark-Casey (justincc) | 2009-09-25 14:31:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-25 14:31:29 +0100 |
commit | 730458be1f8c74da1c112df36ec54233b30caed0 (patch) | |
tree | 6900322dff395a18cb10f22fd9fa85d2cb4086c8 /OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |
parent | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-730458be1f8c74da1c112df36ec54233b30caed0.zip opensim-SC-730458be1f8c74da1c112df36ec54233b30caed0.tar.gz opensim-SC-730458be1f8c74da1c112df36ec54233b30caed0.tar.bz2 opensim-SC-730458be1f8c74da1c112df36ec54233b30caed0.tar.xz |
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 8b7a878..b885420 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |||
@@ -200,11 +200,10 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
200 | if (m_RequestMap.ContainsKey(request)) | 200 | if (m_RequestMap.ContainsKey(request)) |
201 | { | 201 | { |
202 | UrlData urlData = m_RequestMap[request]; | 202 | UrlData urlData = m_RequestMap[request]; |
203 | RequestData requestData=urlData.requests[request]; | ||
204 | urlData.requests[request].responseCode = status; | 203 | urlData.requests[request].responseCode = status; |
205 | urlData.requests[request].responseBody = body; | 204 | urlData.requests[request].responseBody = body; |
206 | //urlData.requests[request].ev.Set(); | 205 | //urlData.requests[request].ev.Set(); |
207 | urlData.requests[request].requestDone=true; | 206 | urlData.requests[request].requestDone =true; |
208 | } | 207 | } |
209 | else | 208 | else |
210 | { | 209 | { |
@@ -397,7 +396,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
397 | { | 396 | { |
398 | Hashtable headers = (Hashtable)request["headers"]; | 397 | Hashtable headers = (Hashtable)request["headers"]; |
399 | 398 | ||
400 | string uri_full = "http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + uri;// "/lslhttp/" + urlcode.ToString() + "/"; | 399 | // string uri_full = "http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + uri;// "/lslhttp/" + urlcode.ToString() + "/"; |
401 | 400 | ||
402 | int pos1 = uri.IndexOf("/");// /lslhttp | 401 | int pos1 = uri.IndexOf("/");// /lslhttp |
403 | int pos2 = uri.IndexOf("/", pos1 + 1);// /lslhttp/ | 402 | int pos2 = uri.IndexOf("/", pos1 + 1);// /lslhttp/ |
@@ -471,7 +470,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
471 | url.engine.PostScriptEvent(url.itemID, "http_request", new Object[] { requestID.ToString(), request["http-method"].ToString(), request["body"].ToString() }); | 470 | url.engine.PostScriptEvent(url.itemID, "http_request", new Object[] { requestID.ToString(), request["http-method"].ToString(), request["body"].ToString() }); |
472 | 471 | ||
473 | //send initial response? | 472 | //send initial response? |
474 | Hashtable response = new Hashtable(); | 473 | // Hashtable response = new Hashtable(); |
475 | 474 | ||
476 | return; | 475 | return; |
477 | 476 | ||