From f443af5a57dce8425ba70abbc7e29abd333b2d3d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 24 Dec 2001 20:42:05 +0000 Subject: [PATCH] Remove unneeded cheats. hyc found/fixed my bug (in slap.h) --- servers/slapd/dn.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 3b46620dfb..3b757a8625 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -351,9 +351,6 @@ dnNormalize( out = ber_bvdup( val ); } - /* FIXME: cheat! */ - ldap_pvt_str2upper( out->bv_val ); - Debug( LDAP_DEBUG_TRACE, "<<< dnNormalize: <%s>\n", out->bv_val, 0, 0 ); *normalized = out; @@ -424,9 +421,6 @@ dnPretty( /* * dnMatch routine - * - * FIXME: strcasecmp should be replaced with strcmp once - * value normalization issues are sorted out. */ int dnMatch( @@ -447,7 +441,7 @@ dnMatch( match = value->bv_len - asserted->bv_len; if ( match == 0 ) { - match = strcasecmp( value->bv_val, asserted->bv_val ); + match = strcmp( value->bv_val, asserted->bv_val ); } #ifdef NEW_LOGGING -- 2.39.5