X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fattr.c;h=8e3112200bf99c96797bc4776f39c2869615172d;hb=04c5711506f17cc7403240c1f335527c6bccaa33;hp=014fe649de39798a882c67bb4d6b0cbbb5fbcb2d;hpb=45679394e0eb1a3d85667b9607bae457876d23fc;p=openldap diff --git a/servers/slapd/attr.c b/servers/slapd/attr.c index 014fe649de..8e3112200b 100644 --- a/servers/slapd/attr.c +++ b/servers/slapd/attr.c @@ -40,15 +40,9 @@ attr_free( Attribute *a ) char * attr_normalize( char *s ) { - char *save; - assert( s != NULL ); - for ( save = s; *s; s++ ) { - *s = TOLOWER( (unsigned char) *s ); - } - - return( save ); + return( str2lower( s ) ); } /*