settings: Don't enumerate key/value pairs with NULL value
This commit is contained in:
@@ -817,7 +817,7 @@ static bool kv_filter(hashtable_t *seen, kv_t **in, char **key,
|
|||||||
void *none, char **value)
|
void *none, char **value)
|
||||||
{
|
{
|
||||||
*key = (*in)->key;
|
*key = (*in)->key;
|
||||||
if (seen->get(seen, *key))
|
if (seen->get(seen, *key) || !(*in)->value)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user