diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index beddc205cd..511d12c59c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2003-11-17 Jeffrey Stedfast <fejj@ximian.com> + + * providers/local/camel-mbox-store.c (create_folder): Fixed an + exception to give a more meaningful description. + 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-mbox-store.c (get_folder_info): Handle "" 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); |