diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-11-18 03:15:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-11-18 03:15:30 +0800 |
commit | ce193843e63111f441d212da455f6526b64c6264 (patch) | |
tree | cbe23a28249efe9b172b46c486a1368987094b07 /camel | |
parent | 8f502cffbc35cc4eabf91903fc30cdee5b42aaef (diff) | |
download | gsoc2013-evolution-ce193843e63111f441d212da455f6526b64c6264.tar.gz gsoc2013-evolution-ce193843e63111f441d212da455f6526b64c6264.tar.zst gsoc2013-evolution-ce193843e63111f441d212da455f6526b64c6264.zip |
Fixed an exception to give a more meaningful description.
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.
svn path=/trunk/; revision=23397
Diffstat (limited to 'camel')
-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); |