+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+
#include "portable.h"
#include <stdio.h>
result = (char **) realloc( result,
sizeof(char *) * (num + 1) );
- result[num++] = (char *) ldap_strdup( buf );
+ result[num++] = (char *) strdup( buf );
}
if ( result == (char **) 0 )
return( NULL );
getline( buf, sizeof(buf), stdin, prompt2 );
if ( buf[0] == '\0' )
break;
- tmp.mod_type = ldap_strdup( buf );
+ tmp.mod_type = strdup( buf );
tmp.mod_values = get_list( prompt3 );
break;
case 't': /* copy ber's to given file */
- copyfname = ldap_strdup( optarg );
+ copyfname = strdup( optarg );
copyoptions = LBER_TO_FILE;
break;
case 'T': /* only output ber's to given file */
- copyfname = ldap_strdup( optarg );
+ copyfname = strdup( optarg );
copyoptions = (LBER_TO_FILE | LBER_TO_FILE_ONLY);
break;