--- a/harvester/blacklistclient/src/blacklistclient.cpp Mon Sep 27 15:53:05 2010 +0300
+++ b/harvester/blacklistclient/src/blacklistclient.cpp Wed Oct 06 15:08:08 2010 +0300
@@ -387,7 +387,7 @@
WRITELOG( "RBlacklistClient::GetListIndex - begin" );
OstTrace0( TRACE_NORMAL, RBLACKLISTCLIENT_GETLISTINDEX, "RBlacklistClient::GetListIndex - begin" );
- for ( TInt i( 0 ); i < iBlacklistMemoryTable.Count(); ++i )
+ for( TInt i = iBlacklistMemoryTable.Count() - 1; i >=0; i-- )
{
if ( iBlacklistMemoryTable[i]->Compare( aUri, aMediaId ) )
{
@@ -424,7 +424,6 @@
WRITELOG( "RBlacklistClient::AddL - end" );
OstTrace0( TRACE_NORMAL, DUP1_RBLACKLISTCLIENT_ADDL, "RBlacklistClient::AddL - end" );
-
}
@@ -448,7 +447,6 @@
WRITELOG( "RBlacklistClient::RemoveL - end" );
OstTrace0( TRACE_NORMAL, DUP1_RBLACKLISTCLIENT_REMOVEL, "RBlacklistClient::RemoveL - end" );
-
}
// ---------------------------------------------------------------------------
@@ -474,5 +472,18 @@
}
+// ----------------------------------------------------------------------------------------
+// Close
+// ----------------------------------------------------------------------------------------
+//
+EXPORT_C void RBlacklistClient::Close()
+ {
+ WRITELOG( "RBlacklistClient::Close" );
+
+ iFs.Close();
+ iBlacklistChunk.Close();
+
+ RSessionBase::Close();
+ }
// End of File