From 913c321a7ef4b4ba55add9751966b357cf9f7e7f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 16 Jan 2002 07:39:00 +0000 Subject: [PATCH] Fix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key --- servers/slapd/back-ldbm/idl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index 604bbe6117..e3a5238ec6 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -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