diff options
| author | Ken <kbrazier@gmail.com> | 2020-07-18 19:40:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-18 19:40:28 -0600 |
| commit | eea142cad1d3bfe49f3fb804902b3346174c31ea (patch) | |
| tree | 3aee53af049d4bd10ecfec32205d843dfb141ec1 /Emby.Server.Implementations/IO/ManagedFileSystem.cs | |
| parent | d719ca78b40695b02b03c912b636652545eff3e8 (diff) | |
FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/IO/ManagedFileSystem.cs')
| -rw-r--r-- | Emby.Server.Implementations/IO/ManagedFileSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs index 08e0cf447..ab6483bf9 100644 --- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs +++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs @@ -249,7 +249,7 @@ namespace Emby.Server.Implementations.IO // Issue #2354 get the size of files behind symbolic links if (fileInfo.Attributes.HasFlag(FileAttributes.ReparsePoint)) { - using (Stream thisFileStream = File.OpenRead(fileInfo.ToString())) + using (Stream thisFileStream = File.OpenRead(fileInfo.FullName)) { result.Length = thisFileStream.Length; } |
