--- a/harvester/server/src/harvesterqueue.cpp Mon May 03 12:55:01 2010 +0300
+++ b/harvester/server/src/harvesterqueue.cpp Fri May 14 16:17:23 2010 +0300
@@ -154,7 +154,10 @@
aItem->Uri(), mediaId, time ) )
{
WRITELOG( "CHarvesterQueue::Append() - found a blacklisted file" );
- TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypePlaceholder ) );
+ if( aItem->ObjectType() == EPlaceholder )
+ {
+ TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypePlaceholder ) );
+ }
TRAP_IGNORE( iHEM->DecreaseItemCountL( EHEObserverTypeMMC ) );
if( aItem->EventType() == EHarvesterEdit )
{