Error code missing
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Error code missing
- Date: Tue, 29 Jan 2008 14:14:02 +0100
Hi,
I found a place where the wrong error code was set. The
camel_imap_message_cache_insert call was failing (in
camel_imap_folder_fetch_data)due to a system IO error but the camel
exception was not taking the right error code in that case. Find the
patch attached.
Br
Index: libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
===================================================================
--- libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c (revision 3305)
+++ libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c (working copy)
@@ -5435,6 +5435,7 @@
if (stream == NULL)
{
+ ex_id = CAMEL_EXCEPTION_SYSTEM_IO_WRITE;
errmessage = g_strdup_printf (_("Write to cache failed: %s"), g_strerror (errno));
goto errorhander;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]