aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-mbox-store.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index 8ef8168bf4..a74f44199d 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -336,7 +336,8 @@ create_folder (CamelStore *store, const char *parent_name, const char *folder_na
if (stat (path, &st) == 0 || errno != ENOENT) {
camel_exception_setv (ex, CAMEL_EXCEPTION_STORE_NO_FOLDER,
_("Cannot create folder: %s: %s"),
- path, g_strerror (errno));
+ path, errno ? g_strerror (errno) :
+ _("Folder already exists"));
g_free (path);
g_free (name);