* fix endlines in LSL_api.cs
parent
eb892e0545
commit
9c2ffa8f2e
|
@ -24,7 +24,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -7838,8 +7838,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
if (m_UrlModule != null)
|
||||
|
||||
if (m_UrlModule != null)
|
||||
return m_UrlModule.GetHttpHeader(new UUID(request_id), header);
|
||||
return String.Empty;
|
||||
}
|
||||
|
@ -9124,9 +9124,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
// Partial implementation: support for parameter flags needed
|
||||
// see http://wiki.secondlife.com/wiki/llHTTPResponse
|
||||
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
if (m_UrlModule != null)
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
if (m_UrlModule != null)
|
||||
m_UrlModule.HttpResponse(new UUID(id), status,body);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue