aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 384198a..e4982a2 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -195,7 +195,7 @@ blacklist_init (gpointer data)
GError * error = NULL;
GDir * dir = g_dir_open(blacklistdir, 0, &error);
if (dir == NULL) {
- g_warning("Unable to open blacklist directory (%s): %s", blacklistdir, error->message);
+ g_warning("Unable to open blacklist directory (%s): %s", blacklistdir, error == NULL ? "No Message" : error->message);
g_error_free(error);
g_free(blacklistdir);
return FALSE;