]> git.sur5r.net Git - openldap/commitdiff
Add assert( s != NULL )
authorKurt Zeilenga <kurt@openldap.org>
Thu, 27 May 1999 01:36:38 +0000 (01:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 27 May 1999 01:36:38 +0000 (01:36 +0000)
servers/slapd/attr.c

index c1178c94e919005772ca5bb535f616829a8ba29d..b26b7c34ba5f60d333c5dfadca32af474ad7b1dd 100644 (file)
@@ -39,6 +39,8 @@ attr_normalize( char *s )
 {
        char    *save;
 
+       assert( s != NULL );
+
        for ( save = s; *s; s++ ) {
                *s = TOLOWER( (unsigned char) *s );
        }