From 48d40fb6c37978b6b543133181bb792946630bde Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 19 Jan 2002 15:42:59 +0000 Subject: [PATCH] fix ad_cmp --- servers/slapd/proto-slap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5