From 62af13a3be7e4e3e0a2544cabbd0d1ab17e94ba2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 22 Mar 2001 22:31:55 +0000 Subject: 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 --- camel/providers/imap/camel-imap-store.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/providers/imap/camel-imap-store.c') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index f5dd7ba089..fa7fac480a 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1109,6 +1109,7 @@ get_folder_info (CamelStore *store, const char *top, gboolean fast, if (!subscribed_only || !recursive || top) { if (!camel_imap_store_check_online (imap_store, ex)) return NULL; + online = TRUE; } else online = camel_imap_store_check_online (imap_store, NULL); -- cgit v1.2.3