settings: Don't enumerate key/value pairs with NULL value

This commit is contained in:
Tobias Brunner 2014-03-10 10:53:52 +01:00
parent 47a3ed979b
commit 3855dc01ec
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ static bool kv_filter(hashtable_t *seen, kv_t **in, char **key,
void *none, char **value)
{
*key = (*in)->key;
if (seen->get(seen, *key))
if (seen->get(seen, *key) || !(*in)->value)
{
return FALSE;
}