aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-30 10:11:05 +0200
committerGitHub <noreply@github.com>2021-05-30 10:11:05 +0200
commit9712fa85c4651ccb0fc2b0e206dac8d17295a016 (patch)
tree6cadaf9b0d3259778f5f013dc2c2e3620eff13eb /Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
parent71c98d2f81f8f1091f996d9150cf732224f798d4 (diff)
parent0bc06014427e36a770adeda66392d08147658ea8 (diff)
Merge pull request #6121 from Bond-009/warn52
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
index 211941f44..2e72b18f5 100644
--- a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
+++ b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
@@ -54,8 +54,8 @@ namespace Emby.Server.Implementations.EntryPoints
try
{
- _udpServer = new UdpServer(_logger, _appHost, _config);
- _udpServer.Start(PortNumber, _cancellationTokenSource.Token);
+ _udpServer = new UdpServer(_logger, _appHost, _config, PortNumber);
+ _udpServer.Start(_cancellationTokenSource.Token);
}
catch (SocketException ex)
{