aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-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);