diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-14 04:08:29 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-14 04:08:29 +0800 |
commit | 070653be4fc60e713e83239c1c5f9b660ee48555 (patch) | |
tree | 9f711b9f0e5a9a231bc6cb75606712eed6b37c6f /camel/providers/imap/camel-imap-store.c | |
parent | e85b96971560854bd81a038cdb29265883a69c37 (diff) | |
download | gsoc2013-evolution-070653be4fc60e713e83239c1c5f9b660ee48555.tar.gz gsoc2013-evolution-070653be4fc60e713e83239c1c5f9b660ee48555.tar.zst gsoc2013-evolution-070653be4fc60e713e83239c1c5f9b660ee48555.zip |
Oops. If the number of messages in the folder is 0, don't fetch summaries
2000-07-13 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_get_summary): Oops.
If the number of messages in the folder is 0, don't fetch
summaries 1 thru 0, just return an empty summary.
(imap_copy_message_to): Fixed to use message UID and also send
the source folder as an arg to camel_imap_command rather than NULL.
(imap_move_message_to): Same.
(imap_init): If SELECT is successful, we need to set the current
folder to the one selected, this was causing problems with move/copy
svn path=/trunk/; revision=4154
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 07630ed6f5..2fdbe5545a 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -532,6 +532,9 @@ camel_imap_command (CamelImapStore *store, CamelFolder *folder, char **ret, char va_list ap; gint status = CAMEL_IMAP_OK; + if (folder) + printf ("*** Current folder = %s\n", store->current_folder->full_name); + if (folder && store->current_folder != folder && strncmp (fmt, "STATUS", 6) && strncmp (fmt, "CREATE", 5) && strcmp (fmt, "CAPABILITY")) { /* We need to select the correct mailbox first */ |