From: Pierangelo Masarati Date: Wed, 16 Jan 2002 12:06:42 +0000 (+0000) Subject: compare attribute type, not value X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d9377f76404965d483c210a95e4e55386ff98a3;p=openldap compare attribute type, not value --- diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 47e69d80f4..75d4fb4553 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -192,8 +192,8 @@ AVA_Sort( LDAPRDN *rdn, int iAVA ) } ava = rdn[ 0 ][ i ]; - a = strcmp( ava_in->la_value.bv_val, - ava->la_value.bv_val ); + a = strcmp( ava_in->la_attr.bv_val, + ava->la_attr.bv_val ); } /*