1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-17 10:45:49 +02:00

Fixed accounting for zero terminator in long path limitation

closes #4259
This commit is contained in:
Taloth Saldono 2021-01-16 02:48:38 +01:00
parent e704ee617f
commit 6c17b4bb86

View File

@ -36,7 +36,7 @@ private static void DetectLongPathLimits()
}
catch
{
MAX_PATH = 260;
MAX_PATH = 260 - 1;
}
}
}