From: Kurt Zeilenga Date: Wed, 2 Jun 1999 22:33:57 +0000 (+0000) Subject: Use ber_strdup() as needed. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~424 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f61625264fbabe5442ec5eb1ae1105bee103065a;p=openldap Use ber_strdup() as needed. --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index d07625afb0..720fb40981 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 ); }