mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Fix result when no VLV match
This commit is contained in:
parent
783dc77df7
commit
eab5b9570a
1 changed files with 4 additions and 1 deletions
|
|
@ -427,7 +427,10 @@ range_err:
|
|||
for (i=1; i<sc->sc_nkeys; i++) {
|
||||
BER_BVZERO( &sn->sn_vals[i] );
|
||||
}
|
||||
cur_node = tavl_find2( so->so_tree, sn, node_cmp );
|
||||
cur_node = tavl_find3( so->so_tree, sn, node_cmp, &j );
|
||||
/* didn't find >= match */
|
||||
if ( j > 0 )
|
||||
cur_node = NULL;
|
||||
op->o_tmpfree( sn, op->o_tmpmemctx );
|
||||
|
||||
if ( !cur_node ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue