mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
01.40.2008 f4df4f39538868519bfb185c4318d980ed0f7775
Fix for issue #3046 (ldifsearch: invalid number of entries returned with --sizeLimit)
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/tools/LDIFSearch.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDIFSearch.java
@@ -803,7 +803,7 @@
        writer.flush();
        matchCount++;
        if ((sizeLimitValue > 0) && (matchCount > sizeLimitValue))
        if ((sizeLimitValue > 0) && (matchCount >= sizeLimitValue))
        {
          resultCode = LDAPResultCode.SIZE_LIMIT_EXCEEDED;