aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-command.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-23 06:31:55 +0800
committerDan Winship <danw@src.gnome.org>2001-03-23 06:31:55 +0800
commit62af13a3be7e4e3e0a2544cabbd0d1ab17e94ba2 (patch)
tree28cbe868e665ce2e999f872f7dc21cc458ce22a0 /camel/providers/imap/camel-imap-command.h
parentf7827253de9528b00b22baedd96dc1e06ba0ca68 (diff)
downloadgsoc2013-evolution-62af13a3be7e4e3e0a2544cabbd0d1ab17e94ba2.tar.gz
gsoc2013-evolution-62af13a3be7e4e3e0a2544cabbd0d1ab17e94ba2.tar.zst
gsoc2013-evolution-62af13a3be7e4e3e0a2544cabbd0d1ab17e94ba2.zip
Don't look at untagged responses other than "* BYE"...
* providers/imap/camel-imap-command.c (imap_read_response): Don't look at untagged responses other than "* BYE"... (camel_imap_response_free): ...do it here instead... (camel_imap_response_free_without_processing): ...but not here. * providers/imap/camel-imap-folder.c (camel_imap_folder_selected): Remove the "EXISTS" line from the response so camel_imap_response_free won't try to process it. (camel_imap_folder_selected): If we get an EXISTS response mixed in with the FETCH responses, record the new EXISTS value. Use camel_imap_response_free_without_processing so that an EXISTS response won't cause a loop. (imap_rescan): Use camel_imap_response_free_without_processing. (imap_update_summary): Use camel_imap_response_free_without_processing. If an EXISTS response shows up, call imap_update_summary again to get the new messages. (imap_protocol_get_summary_specifier): Use BODY.PEEK[0], not RFC822.HEADER for prev IMAP4rev1, since the FETCH parser won't deal with RFC822.HEADER responses. * providers/imap/camel-imap-store.c (get_folder_info): Fix an uninitialized variable svn path=/trunk/; revision=8905
Diffstat (limited to 'camel/providers/imap/camel-imap-command.h')
-rw-r--r--camel/providers/imap/camel-imap-command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-command.h b/camel/providers/imap/camel-imap-command.h
index a7d3c3eae9..9dd31b88d2 100644
--- a/camel/providers/imap/camel-imap-command.h
+++ b/camel/providers/imap/camel-imap-command.h
@@ -37,6 +37,7 @@ extern "C" {
#include <glib.h>
struct _CamelImapResponse {
+ CamelFolder *folder;
GPtrArray *untagged;
char *status;
};
@@ -50,6 +51,7 @@ CamelImapResponse *camel_imap_command_continuation (CamelImapStore *store,
const char *cmdbuf);
void camel_imap_response_free (CamelImapResponse *response);
+void camel_imap_response_free_without_processing(CamelImapResponse *response);
char *camel_imap_response_extract (CamelImapResponse *response,
const char *type,
CamelException *ex);