From ab3f65a15e1b6fe5bdf488e6e879899e283ccc43 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 30 Nov 2012 15:29:34 +0100 Subject: Address couple issues found by a Coverity scan --- modules/mdn/evolution-mdn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/mdn/evolution-mdn.c') 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. */ -- cgit v1.2.3