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 | |
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
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 5d992ada5f..1d727a244d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-10-24 Dan Winship <danw@ximian.com> + + * providers/imap/camel-imap-store.c (unsubscribe_folder): Don't + let fi->name be NULL. + 2001-10-24 Jeffrey Stedfast <fejj@ximian.com> * camel-stream-fs.c (stream_read): Same as in the TcpStreamRaw code. 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); |