* to an existing list if it was given.
*/
AttributeName *
-str2anlist( AttributeName *an, const char *in, const char *brkstr )
+str2anlist( AttributeName *an, char *in, const char *brkstr )
{
char *str;
char *s;
if ( !anew->an_oc ) {
free( an );
/* overwrites input string on error! */
- strcpy( (char *)in, s );
+ strcpy( in, s );
return NULL;
}
}
struct berval *lang ));
LDAP_SLAPD_F (AttributeName *) str2anlist LDAP_P(( AttributeName *an,
- const char *str, const char *brkstr ));
+ char *str, const char *brkstr ));
LDAP_SLAPD_F (int) an_find LDAP_P(( AttributeName *a, struct berval *s ));
/*