From 86cedc6ac7f209be78173e0969fb799de9ab7c7d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 4 Feb 2000 17:49:32 +0000 Subject: [PATCH] ITS#439: Fix logic error --- servers/slapd/back-ldbm/tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/tools.c b/servers/slapd/back-ldbm/tools.c index 0f26402260..03821ebf44 100644 --- a/servers/slapd/back-ldbm/tools.c +++ b/servers/slapd/back-ldbm/tools.c @@ -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 ); -- 2.39.5