aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-24 01:21:46 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-24 01:21:46 +0800
commitf034506958026565c450f851e1dce0c990ec8cc8 (patch)
tree8a5ccd9127b8ef0c70c5d948346d20fbdbe650e4 /camel/providers
parenta53103bd1427ec50b5cf990c6ee2f73dcee4aa5a (diff)
downloadgsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.gz
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.bz2
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.lz
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.xz
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.zst
gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.zip
Fix an exception error message.
svn path=/trunk/; revision=1909
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/mbox/camel-mbox-utils.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/providers/mbox/camel-mbox-utils.c b/camel/providers/mbox/camel-mbox-utils.c
index 64fb4cb283..6a49bb869f 100644
--- a/camel/providers/mbox/camel-mbox-utils.c
+++ b/camel/providers/mbox/camel-mbox-utils.c
@@ -178,9 +178,11 @@ camel_mbox_copy_file_chunk (gint fd_src,
} while (nb_read == -1 && errno == EINTR);
if (nb_read == -1) {
- camel_exception_set (ex,
- CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION,
- "could read from the mbox file");
+ camel_exception_setv (ex,
+ CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION,
+ "could not read from the mbox file\n"
+ "Full error is : %s\n",
+ strerror (errno));
return;
}