diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-05-28 01:56:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-28 01:56:51 +0800 |
commit | c4f37587b1b72c387001c88f6bcb4015b3ffbe81 (patch) | |
tree | ced977a6ab66749c36b6a8a7215953ceb33a76a9 | |
parent | d5af60adc1e263d46890789aa2c3621380ad82dd (diff) | |
download | gsoc2013-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
-rw-r--r-- | camel/ChangeLog | 9 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 700f9a7d65..c73b53684e 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,12 @@ +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). + 2004-05-26 Dan Winship <danw@novell.com> * camel-store.c (camel_store_get_trash): If the store is not a 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); |