diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-05 05:29:43 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-05 05:29:43 +0800 |
commit | 5c3eeb95528778ea63cf8d4330b7ac70299d583f (patch) | |
tree | 3fe6ab62f96e5af17abd76bb9e9fde4fea2a6781 /camel/providers/imap/camel-imap-store.c | |
parent | 34de93822bf74d098746aab3bbc655b05582334b (diff) | |
download | gsoc2013-evolution-5c3eeb95528778ea63cf8d4330b7ac70299d583f.tar.gz 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/imap/camel-imap-store.c')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 2 |
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); |