diff --git a/source/channel/nand.cpp b/source/channel/nand.cpp index f9eb63d7..57131a2c 100644 --- a/source/channel/nand.cpp +++ b/source/channel/nand.cpp @@ -185,12 +185,6 @@ void Nand::Set_NandPath(string path) else *(path.begin()) = '/'; - if(isalnum(*(path.end()))) - path.push_back('/'); - else - //path.replace(path.length() - 1, 1, "/"); WTF? - *(path.end()) = '/'; - if(path.size() <= 32) memcpy(NandPath, path.c_str(), path.size()); else