evolution-data-server r9412 - trunk/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9412 - trunk/camel
- Date: Thu, 21 Aug 2008 04:55:59 +0000 (UTC)
Author: sragavan
Date: Thu Aug 21 04:55:58 2008
New Revision: 9412
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9412&view=rev
Log:
2008-08-21 Srinivasa Ragavan <sragavan novell com>
* camel/camel-folder-summary.c: Add code to dump sorted uids for
debuging.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-folder-summary.c
Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c (original)
+++ trunk/camel/camel-folder-summary.c Thu Aug 21 04:55:58 2008
@@ -876,6 +876,17 @@
return ret == 0 ? 0 : -1;
}
+static void
+camel_folder_summary_dump (CamelFolderSummary *s)
+{
+ int i;
+
+ printf("Dumping %s\n", s->folder ? s->folder->full_name:"nil");
+ for (i=0; i<s->uids->len; i++)
+ printf("%s\t", s->uids->pdata[i]);
+ printf("\n");
+}
+
int
camel_folder_summary_load_from_db (CamelFolderSummary *s, CamelException *ex)
{
@@ -896,8 +907,9 @@
cdb = s->folder->cdb;
ret = camel_db_get_folder_uids (cdb, folder_name, s->uids, ex);
+ /* camel_folder_summary_dump (s); */
+
#if 0
- /* FIXME FOR SANKAR: No need to pass the address of summary here. */
data.summary = s;
data.add = TRUE;
data.double_ref = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]