mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Address comment
This commit is contained in:
parent
60053c7f3d
commit
4c1286fd24
@ -348,7 +348,7 @@ namespace MediaBrowser.Common.Net
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
output = output[0..^1];
|
output = output[..^1];
|
||||||
|
|
||||||
if (moreThanOne)
|
if (moreThanOne)
|
||||||
{
|
{
|
||||||
@ -428,7 +428,7 @@ namespace MediaBrowser.Common.Net
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_addresses = Dns.GetHostAddresses(hostName);
|
_addresses = Dns.GetHostEntry(hostName).AddressList;
|
||||||
}
|
}
|
||||||
catch (SocketException ex)
|
catch (SocketException ex)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user