evolution-data-server r9988 - trunk/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9988 - trunk/camel
- Date: Thu, 29 Jan 2009 15:54:12 +0000 (UTC)
Author: sragavan
Date: Thu Jan 29 15:54:12 2009
New Revision: 9988
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9988&view=rev
Log:
2009-01-29 Srinivasa Ragavan <sragavan novell com>
* camel-db.c: (camel_db_delete_uids): Dont empty null uids.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-db.c
Modified: trunk/camel/camel-db.c
==============================================================================
--- trunk/camel/camel-db.c (original)
+++ trunk/camel/camel-db.c Thu Jan 29 15:54:12 2009
@@ -1251,6 +1251,9 @@
int
camel_db_delete_uids (CamelDB *cdb, const char * folder_name, GSList *uids, CamelException *ex)
{
+ if(!uids || !uids->data)
+ return 0;
+
return cdb_delete_ids (cdb, folder_name, uids, "", "uid", ex);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]