From ba62cfbfdb2a53f06a496f764e95585a1fe4a641 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 3 Dec 2003 17:19:51 +0000 Subject: Treat parent_name == NULL and parent_name == "" the same. 2003-12-03 Jeffrey Stedfast * providers/local/camel-mbox-store.c (create_folder): Treat parent_name == NULL and parent_name == "" the same. svn path=/trunk/; revision=23609 --- camel/providers/local/camel-mbox-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers') 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); -- cgit