mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Fix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key
This commit is contained in:
parent
21c8846e64
commit
913c321a7e
1 changed files with 1 additions and 2 deletions
|
|
@ -936,12 +936,11 @@ idl_delete_key (
|
|||
/* We have to go through an indirect block and find the ID
|
||||
in the list of IDL's
|
||||
*/
|
||||
cont_alloc( &data, &key );
|
||||
#ifndef USE_INDIRECT_NIDS
|
||||
for ( nids = 0; !ID_BLOCK_NOID(idl, nids); nids++ )
|
||||
; /* NULL */
|
||||
|
||||
cont_alloc( &data, &key );
|
||||
|
||||
for ( j = 0; j<nids; j++ )
|
||||
#else
|
||||
nids = ID_BLOCK_NIDS(idl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue