diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-12-04 01:19:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-12-04 01:19:51 +0800 |
commit | ba62cfbfdb2a53f06a496f764e95585a1fe4a641 (patch) | |
tree | 3d82a245ff67bccf9cf01b1e7e00166b083ad1d4 /camel/providers/local | |
parent | 1b43df2c57b8c566e03f391250b9cef94962e415 (diff) | |
download | gsoc2013-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/local')
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 2 |
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); |