Searched refs:rdncomps (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libldap4/common/
H A Dgetdn.c331 char *p, *q, *rdnstart, **rdncomps = NULL; local
359 if ( rdncomps == NULL ) {
360 if (( rdncomps = (char **)malloc( 8 * sizeof( char *))) == NULL )
363 if (( rdncomps = (char **)realloc( rdncomps,
368 rdncomps[ count ] = NULL;
389 if (( rdncomps[ count-1 ] = (char *)calloc( 1, len + 1 )) != NULL ) {
390 SAFEMEMCPY( rdncomps[ count-1 ], rdnstart,
392 rdncomps[ count-1 ][ len ] = '\0';
411 return( rdncomps );
[all...]

Completed in 20 milliseconds