aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-06-21 09:36:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-06-21 09:36:34 +0800
commited11b82023a5501fb05837f63cceff18698691a5 (patch)
tree5ccf512e7a9b31f5c4389d74fdd137b58b2792a9 /mail/component-factory.c
parent39ea8e12ac7cbffe317f2ea54757a9636796c56d (diff)
downloadgsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar.gz
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar.bz2
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar.lz
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar.xz
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.tar.zst
gsoc2013-evolution-ed11b82023a5501fb05837f63cceff18698691a5.zip
oops, should have checked for a NULL sources in component-factory.c
(create_imap_storage) svn path=/trunk/; revision=3657
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);