]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/attr.c
Moved unbind processing into connection_destroy. unbind handler is not needed.
[openldap] / servers / slapd / attr.c
index 014fe649de39798a882c67bb4d6b0cbbb5fbcb2d..8e3112200bf99c96797bc4776f39c2869615172d 100644 (file)
@@ -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 ) );
 }
 
 /*