aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-28 01:56:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-28 01:56:51 +0800
commitc4f37587b1b72c387001c88f6bcb4015b3ffbe81 (patch)
treeced977a6ab66749c36b6a8a7215953ceb33a76a9 /camel/providers
parentd5af60adc1e263d46890789aa2c3621380ad82dd (diff)
downloadgsoc2013-evolution-c4f37587b1b72c387001c88f6bcb4015b3ffbe81.tar.gz
gsoc2013-evolution-c4f37587b1b72c387001c88f6bcb4015b3ffbe81.tar.zst
gsoc2013-evolution-c4f37587b1b72c387001c88f6bcb4015b3ffbe81.zip
Fixes bug #59191.
2004-05-27 Jeffrey Stedfast <fejj@novell.com> 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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c5
1 files changed, 1 insertions, 4 deletions
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);