aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-04 01:19:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 01:19:51 +0800
commitba62cfbfdb2a53f06a496f764e95585a1fe4a641 (patch)
tree3d82a245ff67bccf9cf01b1e7e00166b083ad1d4 /camel/providers
parent1b43df2c57b8c566e03f391250b9cef94962e415 (diff)
downloadgsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.gz
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.bz2
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.lz
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.xz
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.tar.zst
gsoc2013-evolution-ba62cfbfdb2a53f06a496f764e95585a1fe4a641.zip
Treat parent_name == NULL and parent_name == "" the same.
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. svn path=/trunk/; revision=23609
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-mbox-store.c2
1 files changed, 1 insertions, 1 deletions
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);