mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Add kludge to get working tests add/populate.
This commit is contained in:
parent
c1aeb0b9ed
commit
fdeffe84e1
1 changed files with 3 additions and 1 deletions
|
|
@ -395,6 +395,8 @@ static ID idl_first( ID *ids, ID *cursor )
|
|||
}
|
||||
|
||||
if ( BDB_IS_ALLIDS( ids ) ) {
|
||||
/* XXYYZ: quick hack for testing */
|
||||
ids[1] = 100;
|
||||
return *cursor;
|
||||
}
|
||||
|
||||
|
|
@ -411,7 +413,7 @@ static ID idl_first( ID *ids, ID *cursor )
|
|||
static ID idl_next( ID *ids, ID *cursor )
|
||||
{
|
||||
if ( BDB_IS_ALLIDS( ids ) ) {
|
||||
if( ++(*cursor) < ids[1] ) {
|
||||
if( ++(*cursor) <= ids[1] ) {
|
||||
return *cursor;
|
||||
}
|
||||
return NOID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue