harvester/server/src/harvesterqueue.cpp
changeset 3 b73a2e62868f
parent 1 acef663c1218
child 8 6752808b2036
--- a/harvester/server/src/harvesterqueue.cpp	Tue Jan 26 12:13:20 2010 +0200
+++ b/harvester/server/src/harvesterqueue.cpp	Tue Feb 02 00:24:33 2010 +0200
@@ -244,7 +244,8 @@
 void CHarvesterQueue::MonitorEvent(
         RPointerArray<CHarvesterData>& aHarvesterDataArray )
     {
-    for( TInt i = aHarvesterDataArray.Count(); --i >= 0; )
+    const TInt count( aHarvesterDataArray.Count() );
+    for( TInt i = 0; i < count; i++ )
     	{
     	MonitorEvent( aHarvesterDataArray[i] );
     	}