diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-22 11:23:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-22 11:23:24 +0800 |
commit | 9e08fd4d208933cea4e98bba0f155be1583ddfdc (patch) | |
tree | bd543a04b5f4bc72491995623aea87966194c21c /camel | |
parent | 141f7667dfa4b1543b3f1b0db606bb8302ff1833 (diff) | |
download | gsoc2013-evolution-9e08fd4d208933cea4e98bba0f155be1583ddfdc.tar.gz gsoc2013-evolution-9e08fd4d208933cea4e98bba0f155be1583ddfdc.tar.zst gsoc2013-evolution-9e08fd4d208933cea4e98bba0f155be1583ddfdc.zip |
Don't bother doing any work if perm_flags is 0.
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.
svn path=/trunk/; revision=25572
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 19 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-folder.c | 3 |
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 (); |