aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index b1bdc09d18..bea11d4029 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -264,7 +264,7 @@ create_imap_storage (EvolutionShellComponent *shell_component)
source = gnome_config_get_string (cpath);
g_free (cpath);
- if (strncasecmp (source, "imap://", 7))
+ if (!source || strncasecmp (source, "imap://", 7))
return;
corba_shell = evolution_shell_component_get_owner (shell_component);