aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
authorCharles Krinke2008-07-15 02:59:23 +0000
committerCharles Krinke2008-07-15 02:59:23 +0000
commit8fcd9532ab2040256bd76b1dc8db44a058ae5b20 (patch)
tree53d7a99e201d6d630821675014e699a9dac5ce1d /OpenSim/Framework/Servers
parentadded RegionID get property (diff)
downloadopensim-SC-8fcd9532ab2040256bd76b1dc8db44a058ae5b20.zip
opensim-SC-8fcd9532ab2040256bd76b1dc8db44a058ae5b20.tar.gz
opensim-SC-8fcd9532ab2040256bd76b1dc8db44a058ae5b20.tar.bz2
opensim-SC-8fcd9532ab2040256bd76b1dc8db44a058ae5b20.tar.xz
Mantis#1745. Thank you kindly, Lulurun for a patch that:
Fixes simulator webmap functionality.
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/OSHttpResponse.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs
index 352c6f6..d93124b 100644
--- a/OpenSim/Framework/Servers/OSHttpResponse.cs
+++ b/OpenSim/Framework/Servers/OSHttpResponse.cs
@@ -346,9 +346,9 @@ namespace OpenSim.Framework.Servers
346 public void AddHeader(string key, string value) 346 public void AddHeader(string key, string value)
347 { 347 {
348 if (HttpServer) 348 if (HttpServer)
349 _headers.Add(key, value);
350 else
351 _httpResponse.AddHeader(key, value); 349 _httpResponse.AddHeader(key, value);
350 else
351 _headers.Add(key, value);
352 } 352 }
353 353
354 /// <summary> 354 /// <summary>