aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-05 05:29:43 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-05 05:29:43 +0800
commit5c3eeb95528778ea63cf8d4330b7ac70299d583f (patch)
tree3fe6ab62f96e5af17abd76bb9e9fde4fea2a6781 /camel/providers
parent34de93822bf74d098746aab3bbc655b05582334b (diff)
downloadgsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.gz
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.bz2
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.lz
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.xz
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.zst
gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.zip
Coredump fix when IMAP get_folder with NULL dir_sep
svn path=/trunk/; revision=4535
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index d3ba8f14f9..c1ecedc05d 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -579,7 +579,7 @@ get_folder (CamelStore *store, const char *folder_name, gboolean create, CamelEx
dir_sep = CAMEL_IMAP_STORE (store)->dir_sep;
- if (!strcmp (folder_name, dir_sep))
+ if (dir_sep && !strcmp (folder_name, dir_sep))
folder_path = g_strdup (url->path + 1);
else
folder_path = g_strdup (folder_name);