aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mdn/evolution-mdn.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mdn/evolution-mdn.c')
-rw-r--r--modules/mdn/evolution-mdn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mdn/evolution-mdn.c b/modules/mdn/evolution-mdn.c
index 03abc00d24..7e7598895d 100644
--- a/modules/mdn/evolution-mdn.c
+++ b/modules/mdn/evolution-mdn.c
@@ -297,6 +297,8 @@ mdn_notify_sender (ESource *source,
* hostname, then skip the part leading to '@' */
fake_msgid = camel_header_msgid_generate ();
hostname = strchr (fake_msgid, '@');
+ g_return_if_fail (hostname != NULL);
+
hostname++;
/* Create toplevel container. */