aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-10 01:29:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-10 01:29:34 +0800
commitaa99a5060a955532c3703dd6f1a9810766396217 (patch)
tree943cb956bb98f9b8a7233a98156b65279831b928 /camel
parenteebd688b5a6ecc63b5e11466a7d5e96d8de6b069 (diff)
downloadgsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar.gz
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar.bz2
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar.lz
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar.xz
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.tar.zst
gsoc2013-evolution-aa99a5060a955532c3703dd6f1a9810766396217.zip
If the response from the IMAP server is "No", don't set the
2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-command.c (imap_read_response): If the response from the IMAP server is "No", don't set the SERVICE_UNAVAILABLE exception, this makes error reporting in the UI for deleting IMAP folders that cannot be deleted inaccurate (ie, it reports "Cannot delete in offline mode" which is not the problem). svn path=/trunk/; revision=18356
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog11
-rw-r--r--camel/providers/imap/camel-imap-command.c2
2 files changed, 11 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1290a4c348..8e240f1409 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,12 @@
+2002-10-08 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/imap/camel-imap-command.c (imap_read_response): If the
+ response from the IMAP server is "No", don't set the
+ SERVICE_UNAVAILABLE exception, this makes error reporting in the
+ UI for deleting IMAP folders that cannot be deleted inaccurate
+ (ie, it reports "Cannot delete in offline mode" which is not the
+ problem).
+
2002-10-07 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #31752
@@ -121,7 +130,7 @@
* providers/imap/camel-imap-folder.c (imap_update_summary): Use
the summary's last uid as the one to fetch from, ignoring the
- cache. Use strotul instead of atoi as well.
+ cache. Use strtoul instead of atoi as well.
* providers/imap/camel-imap-store.c (get_folder_counts): If we
have the folder open, and the unread count has changed, refresh
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index f12a4a55fb..13a472f5b5 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -401,7 +401,7 @@ imap_read_response (CamelImapStore *store, CamelException *ex)
p += 3;
if (!*p++)
p = NULL;
- camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
+ camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
_("IMAP command failed: %s"),
p ? p : _("Unknown error"));
camel_imap_response_free_without_processing (store, response);