Skip to content
Commit d178c64d authored by Michael Pyne's avatar Michael Pyne
Browse files

kshareddatacache: Correct the findEmptyPages loop boundary.

I did review the last patch to remove 'pagesNeeded' from the loop test,
but I missed that it has '+ 1' instead of '- 1' (which is still too
conservative). The correct thing is to not have any addition at all
since we use operator<() for the test.

Graciously pointed out by kde_pepo, thanks!
parent 1dd5c9d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment