1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-19 21:43:29 +01:00

fs.mitm: fix error in FsPathUtils::VerifyPath

This commit is contained in:
Michael Scire 2019-03-22 15:06:50 -07:00
parent 22d4de27f1
commit fce2099d7d

View file

@ -24,7 +24,7 @@ Result FsPathUtils::VerifyPath(const char *path, size_t max_path_len, size_t max
size_t name_len = 0;
for (size_t path_len = 0; path_len <= max_path_len && name_len <= max_name_len; path_len++) {
const char c = *cur;
const char c = *(cur++);
/* If terminated, we're done. */
if (c == 0) {
return 0;