diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index d07625afb0bb3a798ada0d275941435fc926c10d..720fb40981a8ced4416130e54694958509a59334 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -610,7 +610,7 @@ addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen ) exit( 1 ); } pmods[ i ]->mod_op = modop; - if (( pmods[ i ]->mod_type = strdup( attr )) == NULL ) { + if (( pmods[ i ]->mod_type = ber_strdup( attr )) == NULL ) { perror( "strdup" ); exit( 1 ); }