aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index b01b0b3c4f..8c575a14e8 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -3,6 +3,7 @@
* providers/imap/camel-imap-folder.c (imap_get_message): use
BODY.PEEK[] rather than RFC822, so the message doesn't get marked
as \Seen.
+ (imap_refresh_info): Fix a really really really dumb bug.
2000-12-05 Dan Winship <danw@helixcode.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 4fdfd6cb4f..35346813db 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -251,7 +251,7 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex)
gboolean folder_changed = FALSE;
if (imap_folder->exists == 0) {
- if (camel_folder_summary_count != 0) {
+ if (camel_folder_summary_count (imap_folder->summary) != 0) {
camel_folder_summary_clear (imap_folder->summary);
camel_object_trigger_event (CAMEL_OBJECT (folder),
"folder_changed", NULL);