evolution-data-server r9772 - trunk/camel/providers/imap
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9772 - trunk/camel/providers/imap
- Date: Wed, 19 Nov 2008 05:36:57 +0000 (UTC)
Author: sragavan
Date: Wed Nov 19 05:36:57 2008
New Revision: 9772
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9772&view=rev
Log:
2008-11-19 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #561069
* camel-imap-folder.c (imap_expunge): If nothing to expunge, don't
crash.
Modified:
trunk/camel/providers/imap/ChangeLog
trunk/camel/providers/imap/camel-imap-folder.c
Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c (original)
+++ trunk/camel/providers/imap/camel-imap-folder.c Wed Nov 19 05:36:57 2008
@@ -1587,6 +1587,8 @@
camel_folder_summary_save_to_db (folder->summary, ex);
uids = camel_db_get_folder_deleted_uids (folder->parent_store->cdb_r, folder->full_name, ex);
+ if (!uids)
+ return;
if (CAMEL_OFFLINE_STORE (store)->state == CAMEL_OFFLINE_STORE_NETWORK_AVAIL)
imap_expunge_uids_online (folder, uids, ex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]