From: <svn...@op...> - 2009-03-29 15:46:46
|
Author: dgollub Date: Sun Mar 29 17:46:41 2009 New Revision: 5426 URL: http://www.opensync.org/changeset/5426 Log: Drop osync_hashtable_num_entries() calls insdie logging functions. osync_hashtable_num_entries() will be dropped from public API very soon. Modified: plugins/mozilla-sync/trunk/src/mozilla-sync.cpp Modified: plugins/mozilla-sync/trunk/src/mozilla-sync.cpp ============================================================================== --- plugins/mozilla-sync/trunk/src/mozilla-sync.cpp Sun Mar 29 17:38:26 2009 (r5425) +++ plugins/mozilla-sync/trunk/src/mozilla-sync.cpp Sun Mar 29 17:46:41 2009 (r5426) @@ -216,8 +216,6 @@ ThunderbirdAddressbook *pAB = pOSyncMozillaDatabase->pThunderbirdAddressbook; OSyncHashTable *pHT = pOSyncMozillaDatabase->pOSyncHashTable; - LOG(10, "Hash table initially has [%d] entries", osync_hashtable_num_entries(pHT)); - char *szError=NULL; if (!pAB->CardFirst(&szError, &logFunction)) { LOG_EXIT_REPORT_ERROR_SZ(10, pOSyncContext, szError); return FALSE; } @@ -315,7 +313,6 @@ } } - LOG(10, "Hash table now has [%d] entries", osync_hashtable_num_entries(pHT)); LOG_EXIT(10, "TRUE"); return TRUE; @@ -349,8 +346,6 @@ MozillaCalendar *pCal = pOSyncMozillaDatabase->pMozillaCalendar; OSyncHashTable *pHT = pOSyncMozillaDatabase->pOSyncHashTable; - LOG(10, "Hash table initially has [%d] entries", osync_hashtable_num_entries(pHT)); - char *szError=NULL; if (!pCal->EventFirst(&szError, &logFunction)) { LOG_EXIT_REPORT_ERROR_SZ(10, pOSyncContext, szError); return FALSE; } @@ -440,7 +435,6 @@ } } - LOG(10, "Hash table now has [%d] entries", osync_hashtable_num_entries(pHT)); LOG_EXIT(10, "TRUE"); return TRUE; |