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/providers | |
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/providers')
-rw-r--r-- | camel/providers/imap4/camel-imap4-folder.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 (); |