/*
++_n_created;
- printf( "addrcindex_create/1/%d\n", _n_created );
+ g_print( "addrcindex_create/1/%d\n", _n_created );
*/
index = g_new0( AddrCacheIndex, 1 );
index->completion = g_completion_new( addrcindex_function );
if( index ) {
/*
++_n_freed;
- printf( "addrcindex_free/2/%d\n", _n_freed );
+ g_print( "addrcindex_free/2/%d\n", _n_freed );
*/
/* Clear out */
addrcindex_clear( index );
/* Create a completion entry for the address item */
node = listMail;
while( node ) {
- /* printf( "\tname-m::%s::\n", node->data ); */
+ /* g_print( "\tname-m::%s::\n", node->data ); */
addrcindex_add_entry( index, node->data, email );
node = g_slist_next( node );
}
/* ... and all person's name entries */
node = uniqName;
while( node ) {
- /* printf( "\tname-p::%s::\n", node->data ); */
+ /* g_print( "\tname-p::%s::\n", node->data ); */
addrcindex_add_entry( index, node->data, email );
node = g_slist_next( node );
}
node = list;
while( node ) {
entry = node->data;
- /* printf( "\tname ::%s::\n", entry->name ); */
+ /* g_print( "\tname ::%s::\n", entry->name ); */
if( NULL == g_list_find( listEMail, entry->address ) ) {
listEMail = g_list_append(
listEMail, entry->address );