aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog19
-rw-r--r--camel/providers/imap4/camel-imap4-folder.c3
2 files changed, 16 insertions, 6 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f68389054a..c0e51ba51e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,11 +1,18 @@
+2004-04-21 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/imap4/camel-imap4-folder.c (imap4_sync_changes): Don't
+ bother doing any work if perm_flags is 0.
+
2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * providers/groupwise/Makefile.am : added CAMEL_LIBS to LIBADD
- * providers/groupwise/camel-gw-listener.c (get_addressbook_names_from_server):
- added new function to get addres book names from server.
- (add_addressbook_sources) (modify_addressbook_sources) : changed the implementation
- to use address book returned form above call while creating e-sources
+ * providers/groupwise/Makefile.am: added CAMEL_LIBS to LIBADD
+
+ * providers/groupwise/camel-gw-listener.c
+ (get_addressbook_names_from_server): added new function to get
+ addres book names from server.
+ (add_addressbook_sources) (modify_addressbook_sources) : changed
+ the implementation to use address book returned form above call
+ while creating e-sources
2004-04-21 Not Zed <NotZed@Ximian.com>
diff --git a/camel/providers/imap4/camel-imap4-folder.c b/camel/providers/imap4/camel-imap4-folder.c
index af82fdf8a3..ebc75330de 100644
--- a/camel/providers/imap4/camel-imap4-folder.c
+++ b/camel/providers/imap4/camel-imap4-folder.c
@@ -363,6 +363,9 @@ imap4_sync_changes (CamelFolder *folder, GPtrArray *sync, CamelException *ex)
int retval = 0;
int i, j;
+ if (folder->permanent_flags == 0)
+ return 0;
+
on_set = g_ptr_array_new ();
off_set = g_ptr_array_new ();