diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-24 01:21:46 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-24 01:21:46 +0800 |
commit | f034506958026565c450f851e1dce0c990ec8cc8 (patch) | |
tree | 8a5ccd9127b8ef0c70c5d948346d20fbdbe650e4 /camel/providers/mbox | |
parent | a53103bd1427ec50b5cf990c6ee2f73dcee4aa5a (diff) | |
download | gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.gz gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.tar.zst gsoc2013-evolution-f034506958026565c450f851e1dce0c990ec8cc8.zip |
Fix an exception error message.
svn path=/trunk/; revision=1909
Diffstat (limited to 'camel/providers/mbox')
-rw-r--r-- | camel/providers/mbox/camel-mbox-utils.c | 8 |
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; } |