From 8fcd9532ab2040256bd76b1dc8db44a058ae5b20 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Tue, 15 Jul 2008 02:59:23 +0000 Subject: [PATCH] Mantis#1745. Thank you kindly, Lulurun for a patch that: Fixes simulator webmap functionality. --- OpenSim/Framework/Servers/OSHttpResponse.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs index 352c6f6e09..d93124b06c 100644 --- a/OpenSim/Framework/Servers/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/OSHttpResponse.cs @@ -346,9 +346,9 @@ namespace OpenSim.Framework.Servers public void AddHeader(string key, string value) { if (HttpServer) - _headers.Add(key, value); - else _httpResponse.AddHeader(key, value); + else + _headers.Add(key, value); } ///