aboutsummaryrefslogtreecommitdiff
path: root/Mono.Nat/Upnp/UpnpNatDevice.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-08-15 01:00:33 -0700
committerGitHub <noreply@github.com>2019-08-15 01:00:33 -0700
commit685e9e4f58c2e00a0157098a2309b2cb97cb2f14 (patch)
treef931aa410d09e57a7903b709d56c012e4da9b92e /Mono.Nat/Upnp/UpnpNatDevice.cs
parent535e0d25538a7f19d927d96e3fd4fba553ed83f4 (diff)
parent72436892154892c53c75ee5fdcbcb3bf843ac85c (diff)
Merge pull request #1584 from Bond-009/checksum
Check checksum for plugin downloads
Diffstat (limited to 'Mono.Nat/Upnp/UpnpNatDevice.cs')
-rw-r--r--Mono.Nat/Upnp/UpnpNatDevice.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Mono.Nat/Upnp/UpnpNatDevice.cs b/Mono.Nat/Upnp/UpnpNatDevice.cs
index fd408ee63..3ff1eeb90 100644
--- a/Mono.Nat/Upnp/UpnpNatDevice.cs
+++ b/Mono.Nat/Upnp/UpnpNatDevice.cs
@@ -27,11 +27,9 @@
//
using System;
-using System.IO;
using System.Net;
using System.Xml;
using System.Text;
-using System.Diagnostics;
using System.Threading.Tasks;
using MediaBrowser.Common.Net;
using Microsoft.Extensions.Logging;
@@ -96,7 +94,7 @@ namespace Mono.Nat.Upnp
public async Task GetServicesList()
{
// Create a HTTPWebRequest to download the list of services the device offers
- var message = new GetServicesMessage(this.serviceDescriptionUrl, this.hostEndPoint, _logger);
+ var message = new GetServicesMessage(this.serviceDescriptionUrl, this.hostEndPoint);
using (var response = await _httpClient.SendAsync(message.Encode(), message.Method).ConfigureAwait(false))
{