remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp
changeset 2 c32dc0be5eb4
parent 0 3ad9d5175a89
--- a/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp	Thu Jan 07 13:15:09 2010 +0200
+++ b/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp	Mon Jan 18 21:00:57 2010 +0200
@@ -197,7 +197,7 @@
         fid.iVolumeId = aStream.ReadInt32L();
 
         // check whether there is no trash in the data being internalized
-        if (fid.iVolumeId >= 0 && fid.iVolumeId <= KMaxVolumes && fid.iNodeId > 0)
+        if (fid.iVolumeId >= 0 && fid.iVolumeId < KMaxVolumes && fid.iNodeId > 0)
             {
             // find existing CRsfwFileEntry object based on TFid
             CRsfwVolume* volume = aVolumeTable->iVolumes[fid.iVolumeId];