From: Pierangelo Masarati Date: Sat, 19 Jan 2002 15:42:59 +0000 (+0000) Subject: fix ad_cmp X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48d40fb6c37978b6b543133181bb792946630bde;p=openldap fix ad_cmp --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 41594bb367..3c276cacdb 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -59,7 +59,7 @@ LDAP_SLAPD_F (void) ad_destroy LDAP_P(( AttributeDescription * )); #define ad_cmp(l,r) (((l)->ad_cname.bv_len < (r)->ad_cname.bv_len) \ ? -1 : (((l)->ad_cname.bv_len > (r)->ad_cname.bv_len) \ - ? strcasecmp((l)->ad_cname.bv_val, (r)->ad_cname.bv_val ) : 1 )) + ? 1 : strcasecmp((l)->ad_cname.bv_val, (r)->ad_cname.bv_val ))) LDAP_SLAPD_F (int) is_ad_subtype LDAP_P(( AttributeDescription *sub,