(create_folder): Oops, and fix bug involving namespaces

svn path=/trunk/; revision=8233
This commit is contained in:
Dan Winship
2001-02-14 22:26:51 +00:00
parent cb6f0cd111
commit 4029db7b4c
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,8 @@
a folder when you don't know its full name.
* providers/imap/camel-imap-store.c (create_folder): Implement.
(create_folder): Oops, and fix bug involving namespaces
2001-02-12 Not Zed <NotZed@Ximian.com>
* camel-mime-part.c (init_header_name_table): Add address headers

View File

@ -703,10 +703,9 @@ create_folder (CamelStore *store, const char *parent_name,
CamelFolderInfo *fi;
char *full_name;
if (parent_name)
full_name = imap_concat (imap_store, parent_name, folder_name);
else
full_name = g_strdup (folder_name);
if (!parent_name)
parent_name = imap_store->namespace;
full_name = imap_concat (imap_store, parent_name, folder_name);
imap_create (imap_store, full_name, ex);
if (camel_exception_is_set (ex)) {