mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Fix rev 1.52, frontendDB uses index {-1}.
This commit is contained in:
parent
32712f4c26
commit
f3ee4f5d30
1 changed files with 1 additions and 3 deletions
|
|
@ -420,9 +420,7 @@ static int r_enum_tree(enumCookie *ck, struct berval *path,
|
|||
if ( ptr ) {
|
||||
itmp.bv_len = ptr - itmp.bv_val;
|
||||
ber_dupbv( &bvl->num, &itmp );
|
||||
/* FIXME: handle error? */
|
||||
assert( itmp.bv_val[ 0 ] != '-' );
|
||||
bvl->inum = strtoul( itmp.bv_val, NULL, 0 );
|
||||
bvl->inum = strtol( itmp.bv_val, NULL, 0 );
|
||||
itmp.bv_val[0] = '\0';
|
||||
bvl->off = itmp.bv_val - bvl->bv.bv_val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue