evolution-data-server r9989 - branches/gnome-2-24/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9989 - branches/gnome-2-24/camel
- Date: Thu, 29 Jan 2009 15:54:43 +0000 (UTC)
Author: sragavan
Date: Thu Jan 29 15:54:43 2009
New Revision: 9989
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9989&view=rev
Log:
2009-01-29 Srinivasa Ragavan <sragavan novell com>
* camel-db.c: (camel_db_delete_uids): Don't empty null set.
Modified:
branches/gnome-2-24/camel/ChangeLog
branches/gnome-2-24/camel/camel-db.c
Modified: branches/gnome-2-24/camel/camel-db.c
==============================================================================
--- branches/gnome-2-24/camel/camel-db.c (original)
+++ branches/gnome-2-24/camel/camel-db.c Thu Jan 29 15:54:43 2009
@@ -1065,6 +1065,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]