mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
Fixed accounting for zero terminator in long path limitation
closes #4259
This commit is contained in:
parent
e704ee617f
commit
6c17b4bb86
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ namespace NzbDrone.Common.Disk
|
|||
}
|
||||
catch
|
||||
{
|
||||
MAX_PATH = 260;
|
||||
MAX_PATH = 260 - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue