/* $OpenLDAP$ */
/*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
return str;
}
-char *
-(ldap_pvt_strdup)( const char *s )
-{
- char *p;
- size_t len = strlen( s ) + 1;
-
- if ( (p = (char *) malloc( len )) == NULL ) {
- return( NULL );
- }
-
- memcpy( p, s, len );
- return( p );
-}
-
char *
ldap_pvt_str2upper( char *str )
{