util/StringUtil: use CamelCase

This commit is contained in:
Max Kellermann
2016-06-10 22:08:13 +02:00
parent 6b75be183d
commit e4c7e343c8
6 changed files with 13 additions and 13 deletions

View File

@@ -26,12 +26,12 @@ get_bool(const char *value, bool *value_r)
static const char *const t[] = { "yes", "true", "1", nullptr };
static const char *const f[] = { "no", "false", "0", nullptr };
if (string_array_contains(t, value)) {
if (StringArrayContainsCase(t, value)) {
*value_r = true;
return true;
}
if (string_array_contains(f, value)) {
if (StringArrayContainsCase(f, value)) {
*value_r = false;
return true;
}