diff options
author | Melanie Thielker | 2009-05-26 01:38:32 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-26 01:38:32 +0000 |
commit | 0b9076cd17479d3f1c0cb7cb856d051df9e112bc (patch) | |
tree | 65ba4896303cca88dd582783ec29e3025300a40d /OpenSim/Region | |
parent | Couple of tweaks to the URL module: handle script reset gracefully and (diff) | |
download | opensim-SC-0b9076cd17479d3f1c0cb7cb856d051df9e112bc.zip opensim-SC-0b9076cd17479d3f1c0cb7cb856d051df9e112bc.tar.gz opensim-SC-0b9076cd17479d3f1c0cb7cb856d051df9e112bc.tar.bz2 opensim-SC-0b9076cd17479d3f1c0cb7cb856d051df9e112bc.tar.xz |
Revert a change I made to get a better URL because it failes under mono
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index 9c6f49b..849e103 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
124 | engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); | 124 | engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); |
125 | return urlcode; | 125 | return urlcode; |
126 | } | 126 | } |
127 | string url = "http://"+Util.GetLocalHost()+":"+m_HttpServer.Port.ToString()+"/lslhttp/"+urlcode.ToString()+"/"; | 127 | string url = "http://"+System.Environment.MachineName+":"+m_HttpServer.Port.ToString()+"/lslhttp/"+urlcode.ToString()+"/"; |
128 | 128 | ||
129 | UrlData urlData = new UrlData(); | 129 | UrlData urlData = new UrlData(); |
130 | urlData.hostID = host.UUID; | 130 | urlData.hostID = host.UUID; |