aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/local/camel-mbox-store.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 4e77a363a3..0ec8c88afe 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
+ * providers/local/camel-mbox-store.c (create_folder): Treat
+ parent_name == NULL and parent_name == "" the same.
+
* camel-store.c (camel_store_get_folder_info): Only add
vTrash/vJunk info's if we've requested the toplevel folder tree,
otherwise we get vTrash/vJunk folders in odd places in the folder
diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index 560ac93482..359036f09b 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -312,7 +312,7 @@ create_folder (CamelStore *store, const char *parent_name, const char *folder_na
return NULL;
}
- if (parent_name)
+ if (parent_name && *parent_name)
name = g_strdup_printf ("%s/%s", parent_name, folder_name);
else
name = g_strdup (folder_name);