diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-25 08:27:39 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-25 08:27:39 +0800 |
commit | d9545bc20c23425f71583e8966f64fdb5c613941 (patch) | |
tree | f35c475e1b30a9614ec51eedf752db7b077e2610 /camel/providers | |
parent | bcd57ec7f99a6b28172c390783c2ad85927db965 (diff) | |
download | gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar.gz gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar.bz2 gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar.lz gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar.xz gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.tar.zst gsoc2013-evolution-d9545bc20c23425f71583e8966f64fdb5c613941.zip |
Don't let fi->name be NULL.
* providers/imap/camel-imap-store.c (unsubscribe_folder): Don't
let fi->name be NULL.
svn path=/trunk/; revision=14079
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 6d996ffe9f..fccc43e45a 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1663,6 +1663,8 @@ unsubscribe_folder (CamelStore *store, const char *folder_name, name = strrchr (folder_name, imap_store->dir_sep); if (name) name++; + else + name = folder_name; fi = g_new0 (CamelFolderInfo, 1); fi->full_name = g_strdup (folder_name); |