mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-12 04:58:37 +03:00
fix: uncorrect work of isSpecialValueName
(#84)
This commit is contained in:
parent
a4e3418887
commit
3d461644fa
@ -215,8 +215,8 @@ static bool isSpecialValueName(const std::string &str)
|
||||
(str == "**delvals.") ||
|
||||
(str == "**deletekeys") ||
|
||||
(str == "**securekey") ||
|
||||
(str.length() >= 6 && strncmp(str.c_str(), "**del.", 6)) ||
|
||||
(str.length() >= 7 && strncmp(str.c_str(), "**soft.", 7));
|
||||
(str.length() >= 6 && strncmp(str.c_str(), "**del.", 6) == 0) ||
|
||||
(str.length() >= 7 && strncmp(str.c_str(), "**soft.", 7) == 0);
|
||||
}
|
||||
|
||||
std::vector<std::string> PolRegistrySource::getNonSpecialValueNames(const std::string &key) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user