]> git.sur5r.net Git - openldap/commitdiff
compare attribute type, not value
authorPierangelo Masarati <ando@openldap.org>
Wed, 16 Jan 2002 12:06:42 +0000 (12:06 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 16 Jan 2002 12:06:42 +0000 (12:06 +0000)
servers/slapd/dn.c

index 47e69d80f4a0c2299bc0616bf842fc4f66971908..75d4fb45530db4afe95bea0f59da3102d9473b08 100644 (file)
@@ -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 );
                }
 
                /*