Core: An empty config string is a null config value

This commit is contained in:
Vicki Pfau 2023-03-15 22:44:52 -07:00
parent ea3e6d6b54
commit cd0b5193cb
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static const char* _lookupValue(const struct mCoreConfig* config, const char* ke
static bool _lookupCharValue(const struct mCoreConfig* config, const char* key, char** out) {
const char* value = _lookupValue(config, key);
if (!value) {
if (!value || !value[0]) {
return false;
}
if (*out) {