aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2018-12-28 16:33:42 -0500
committerGitHub <noreply@github.com>2018-12-28 16:33:42 -0500
commit9c49e936f02738faff5e76e0311b48f360990228 (patch)
tree2b13ec9d73d3918ab5119290cb95b79d62751d54 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parentdc4a6026a53e7245182955b9b8e96a655bfe2961 (diff)
parent6e5d2aadaa17d891b9c4b4f17faf1316f43aaee6 (diff)
Merge pull request #288 from Bond-009/toarray
Remove custom ToArray extension
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 0093258e3..70a233c6f 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -825,7 +825,7 @@ namespace Emby.Server.Implementations.HttpServer
});
}
- return routes.ToArray(routes.Count);
+ return routes.ToArray();
}
public Func<string, object> GetParseFn(Type propertyType)
@@ -954,4 +954,4 @@ namespace Emby.Server.Implementations.HttpServer
_listener.Start(UrlPrefixes);
}
}
-} \ No newline at end of file
+}