From c4f37587b1b72c387001c88f6bcb4015b3ffbe81 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 27 May 2004 17:56:51 +0000 Subject: Fixes bug #59191. 2004-05-27 Jeffrey Stedfast Fixes bug #59191. * providers/imap/camel-imap-store.c (camel_imap_store_readline): Don't override the exception with g_strerror() since presumably camel_imap_store_is_connected() will have set that for us (and will have a much more accurate exception anyway). svn path=/trunk/; revision=26113 --- camel/providers/imap/camel-imap-store.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'camel/providers/imap') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 9401c559fb..af18d8043c 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -3177,11 +3177,8 @@ camel_imap_store_readline (CamelImapStore *store, char **dest, CamelException *e * meaning if we reconnect, so always set an exception. */ - if (!camel_imap_store_connected (store, ex)) { - camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_NOT_CONNECTED, - g_strerror (errno)); + if (!camel_imap_store_connected (store, ex)) return -1; - } stream = CAMEL_STREAM_BUFFER (store->istream); -- cgit