mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#439: Fix logic error
This commit is contained in:
parent
25af82b3ea
commit
86cedc6ac7
1 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ int ldbm_tool_index_attr(
|
|||
|
||||
at_cn = at_canonical_name( at );
|
||||
|
||||
if( at_cn ) {
|
||||
if( at_cn == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"<= index_attr NULL (attribute type %s (%s) has no canonical name)\n",
|
||||
at->sat_oid, type, 0 );
|
||||
|
|
@ -227,7 +227,7 @@ int ldbm_tool_index_attr(
|
|||
attr_normalize( type );
|
||||
at_cn = at_canonical_name( type );
|
||||
|
||||
if( at_cn ) {
|
||||
if( at_cn == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"<= index_attr NULL (attribute type %s has no canonical name)\n",
|
||||
type, 0, 0 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue