]> git.sur5r.net Git - openldap/commitdiff
cleanup...
authorPierangelo Masarati <ando@openldap.org>
Sun, 18 Jul 2004 21:32:38 +0000 (21:32 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 18 Jul 2004 21:32:38 +0000 (21:32 +0000)
libraries/libldap/dnssrv.c

index 637cd61299c085752b3c0638d8f5deedd708670e..1bf7eb64269c0d2071f204d3ea7ddcc6e96c025f 100644 (file)
@@ -69,7 +69,7 @@ int ldap_dn2domain(
                                (ava->la_flags & LDAP_AVA_STRING) &&
                                ava->la_value.bv_len &&
                                ( ber_bvstrcasecmp( &ava->la_attr, &DC ) == 0
-                               || ber_bvstrcasecmp( &ava->la_attr, &DCOID ) == 0 ) )
+                               || ber_bvcmp( &ava->la_attr, &DCOID ) == 0 ) )
                        {
                                if( domain.bv_len == 0 ) {
                                        ndomain = LDAP_REALLOC( domain.bv_val,