From 999160495d1647b192c45f88d32953b7e8f94e32 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 6 Oct 2017 20:29:46 -0300 Subject: [PATCH] log: accept NULL log domains --- src/gcal-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcal-log.c b/src/gcal-log.c index cbeda6fc..0c1c4134 100644 --- a/src/gcal-log.c +++ b/src/gcal-log.c @@ -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);