[evolution-data-server] Bug #327285 - Word "Success" in error message for failed action
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-data-server] Bug #327285 - Word "Success" in error message for failed action
- Date: Mon, 29 Jun 2009 10:32:44 +0000 (UTC)
commit 1f0c08000927c7ce4f7c331f667bb1d24f6a9601
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 29 12:31:36 2009 +0200
Bug #327285 - Word "Success" in error message for failed action
camel/providers/imap/camel-imap-store.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index d89a4a8..e89036f 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -3050,6 +3050,8 @@ camel_imap_store_readline (CamelImapStore *store, gchar **dest, CamelException *
if (nread <= 0) {
if (errno == EINTR)
camel_exception_set (ex, CAMEL_EXCEPTION_USER_CANCEL, _("Operation cancelled"));
+ else if (errno == 0)
+ camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, _("Server unexpectedly disconnected"));
else
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
_("Server unexpectedly disconnected: %s"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]