(store_sync): duh, actually pass expunge to folder_sync.

svn path=/trunk/; revision=24607
This commit is contained in:
Michael Zucci
2004-02-04 10:15:45 +00:00
parent 8a1e5f2367
commit 0650e002ea
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* camel-store.c (camel_store_sync): added 'expunge' parameter,
easier 'empty trash on exit' call.
(store_sync): duh, actually pass expunge to folder_sync.
2004-02-04 Not Zed <NotZed@Ximian.com>

View File

@ -648,7 +648,7 @@ store_sync (CamelStore *store, int expunge, CamelException *ex)
for (i=0;i<folders->len;i++) {
folder = folders->pdata[i];
if (!camel_exception_is_set(&x))
camel_folder_sync(folder, FALSE, &x);
camel_folder_sync(folder, expunge, &x);
camel_object_unref(folder);
}
camel_exception_xfer(ex, &x);