harvester/server/src/harvesterqueue.cpp
branchRCL_3
changeset 26 9f21bab39f42
parent 22 ab88d4a85041
child 34 9422ed56ee45
--- a/harvester/server/src/harvesterqueue.cpp	Tue Apr 27 17:05:23 2010 +0300
+++ b/harvester/server/src/harvesterqueue.cpp	Tue May 11 16:36:55 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 )
                 {