mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-14 13:18:21 +00:00
Self test JSONDB.
This commit is contained in:
@ -147,8 +147,6 @@ std::string JSONDB::_genPath(const std::string &n,bool create)
|
||||
std::vector<std::string> pt(Utils::split(n.c_str(),"/","",""));
|
||||
if (pt.size() == 0)
|
||||
return std::string();
|
||||
if (pt.size() == 1)
|
||||
return pt[0];
|
||||
|
||||
std::string p(_basePath);
|
||||
if (create) OSUtils::mkdir(p.c_str());
|
||||
|
Reference in New Issue
Block a user