log: accept NULL log domains

This commit is contained in:
Georges Basile Stavracas Neto
2017-10-06 20:32:00 -03:00
parent e59910f0e9
commit 999160495d
+1 -1
View File
@@ -64,7 +64,7 @@ gcal_log_handler (const gchar *domain,
gchar *buffer;
/* Skip ignored log domains */
if (g_strv_contains (ignored_domains, domain))
if (domain && g_strv_contains (ignored_domains, domain))
return;
level = log_level_str (log_level);