mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
clarify macro name: dn_match = 1 if match, 0 otherwise
This commit is contained in:
parent
e89d7b1280
commit
3bddc61a2a
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ ldap_back_attribute(
|
|||
LDAP *ld = NULL;
|
||||
|
||||
*vals = NULL;
|
||||
if (target != NULL && dn_cmp( &target->e_nname, ndn )) {
|
||||
if (target != NULL && dn_match( &target->e_nname, ndn )) {
|
||||
/* we already have a copy of the entry */
|
||||
/* attribute and objectclass mapping has already been done */
|
||||
if ((attr = attr_find(target->e_attrs, entry_at)) == NULL)
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ LDAP_SLAPD_F (void) connection_internal_close( Connection *conn );
|
|||
* dn.c
|
||||
*/
|
||||
|
||||
#define dn_cmp(dn1, dn2) \
|
||||
#define dn_match(dn1, dn2) \
|
||||
(((dn1)->bv_len == (dn2)->bv_len) \
|
||||
&& (strcmp((dn1)->bv_val, (dn2)->bv_val) == 0))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue