Address comment

pull/6392/head
Bond_009 4 years ago
parent 60053c7f3d
commit 4c1286fd24

@ -348,7 +348,7 @@ namespace MediaBrowser.Common.Net
}
}
output = output[0..^1];
output = output[..^1];
if (moreThanOne)
{
@ -428,7 +428,7 @@ namespace MediaBrowser.Common.Net
{
try
{
_addresses = Dns.GetHostAddresses(hostName);
_addresses = Dns.GetHostEntry(hostName).AddressList;
}
catch (SocketException ex)
{

Loading…
Cancel
Save