harvester/server/src/harvesterqueue.cpp
changeset 25 8e4539ab1889
parent 23 33ae025ac1e8
child 35 f727727520eb
--- 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 )
                 {