aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/PlayTo/SsdpHttpClient.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-12-02 15:38:52 +0100
committerBond_009 <bond.009@outlook.com>2020-12-02 15:38:52 +0100
commite4fd61411f102abdd4aa5b6df67c9b18c103cb28 (patch)
treefb3f7d818a135ad7b0b25b4cf82962f4497e580d /Emby.Dlna/PlayTo/SsdpHttpClient.cs
parent3b4f86579badf10fa3d875e413f4253876459c8b (diff)
Minor improvements
Diffstat (limited to 'Emby.Dlna/PlayTo/SsdpHttpClient.cs')
-rw-r--r--Emby.Dlna/PlayTo/SsdpHttpClient.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Dlna/PlayTo/SsdpHttpClient.cs b/Emby.Dlna/PlayTo/SsdpHttpClient.cs
index f4d7937907..557bc69a73 100644
--- a/Emby.Dlna/PlayTo/SsdpHttpClient.cs
+++ b/Emby.Dlna/PlayTo/SsdpHttpClient.cs
@@ -4,7 +4,6 @@ using System;
using System.Globalization;
using System.IO;
using System.Net.Http;
-using System.Net.Http.Headers;
using System.Net.Mime;
using System.Text;
using System.Threading;
@@ -60,7 +59,7 @@ namespace Emby.Dlna.PlayTo
return serviceUrl;
}
- if (!serviceUrl.StartsWith("/", StringComparison.Ordinal))
+ if (!serviceUrl.StartsWith('/'))
{
serviceUrl = "/" + serviceUrl;
}