/* cache.c - routines to maintain an in-core cache of entries */
/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
- * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
- *
* Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
*
* This work has beed deveolped for the OpenLDAP Foundation
/* try with parent/ancestors */
if ( ndn->bv_len ) {
- p_ndn.bv_val = dn_parent( NULL, ndn->bv_val );
+ dnParent( ndn, &p_ndn );
}
if ( p_ndn.bv_val == NULL ) {