From 3d9377f76404965d483c210a95e4e55386ff98a3 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 16 Jan 2002 12:06:42 +0000 Subject: [PATCH] compare attribute type, not value --- servers/slapd/dn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } /* -- 2.39.5