aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDevicePublisher.cs
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2018-12-20 22:10:42 -0500
committerGitHub <noreply@github.com>2018-12-20 22:10:42 -0500
commite163fea9d9fed9f19e81999a7de45f3157db5b3e (patch)
treeca32a6ef76f6424ae5847ee2251ac37e90f35b68 /RSSDP/SsdpDevicePublisher.cs
parenta8bce31a01225911b69f2c3b59a7397895f7b79b (diff)
parentb4bd4e3584fafe559345e47feb6f8e1d8c1ed699 (diff)
Merge pull request #248 from jellyfin/develop
Master 3.5.2-4
Diffstat (limited to 'RSSDP/SsdpDevicePublisher.cs')
-rw-r--r--RSSDP/SsdpDevicePublisher.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.cs
index 8d57deb5e..cee9b7f91 100644
--- a/RSSDP/SsdpDevicePublisher.cs
+++ b/RSSDP/SsdpDevicePublisher.cs
@@ -310,11 +310,16 @@ namespace Rssdp.Infrastructure
try
{
- await _CommsServer.SendMessage(System.Text.Encoding.UTF8.GetBytes(message), endPoint, receivedOnlocalIpAddress, cancellationToken).ConfigureAwait(false);
+ await _CommsServer.SendMessage(
+ System.Text.Encoding.UTF8.GetBytes(message),
+ endPoint,
+ receivedOnlocalIpAddress,
+ cancellationToken)
+ .ConfigureAwait(false);
}
- catch (Exception ex)
+ catch (Exception)
{
-
+
}
//WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device);
@@ -558,4 +563,4 @@ namespace Rssdp.Infrastructure
}
}
}
-} \ No newline at end of file
+}