Cleanup codes

inja: Using a better implementation for stripping blanks for expressions.
This commit is contained in:
Tindy X committed 2020-08-12 02:03:00 +08:00
1 parent a90ceb4b8e
commit 65ac33d514
19 files changed
+103 -499

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ int addNodes(std::string link, std::vector<nodeInfo> &allNodes, int groupID, con
writeLog(LOG_TYPE_ERROR, "Invalid configuration file!");
return -1;
}
if(strSub.find("ssd://") == 0)
if(startsWith(strSub, "ssd://"))
{
getSubInfoFromSSD(strSub, subInfo);
}