aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-02-12 21:06:54 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-02-12 21:06:54 -0500
commite1b2b2e77e03c2f858c06fdeabb2da16f719d921 (patch)
treec4359f6985fde58df60091777018257fbfed87e8 /Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
parent511a8702c29445288251fcf841c394e837db19cc (diff)
removed dead code
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpResultFactory.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpResultFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
index 3f756fc7a..20b345fa1 100644
--- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
@@ -204,7 +204,7 @@ namespace Emby.Server.Implementations.HttpServer
using (var ms = new MemoryStream())
{
var contentType = request.ResponseContentType;
- var writerFn = RequestHelper.GetResponseWriter(contentType);
+ var writerFn = RequestHelper.GetResponseWriter(HttpListenerHost.Instance, contentType);
writerFn(dto, ms);