nm-config: drop a glib 2.40-ism

Fixes: ae9e82354a
This commit is contained in:
Lubomir Rintel 2015-10-01 10:10:58 +02:00
parent f04b27bd1f
commit d4a7645865

View file

@ -660,7 +660,7 @@ nm_global_dns_config_update_checksum (const NMGlobalDnsConfig *dns, GChecksum *s
for (key = keys; key; key = g_list_next (key)) {
domain = g_hash_table_lookup (dns->domains, key->data);
g_assert_nonnull (domain);
g_assert (domain != NULL);
g_checksum_update (sum, (guchar *) domain->name, strlen (domain->name));
for (i = 0; domain->servers && domain->servers[i]; i++)