Lines Matching defs:referralsp
286 append_referral( LDAP *ld, char **referralsp, char *s )
290 if ( *referralsp == NULL ) {
292 *referralsp = (char *)malloc( strlen( s ) + LDAP_REF_STR_LEN
296 *referralsp = (char *)realloc( *referralsp,
297 strlen( *referralsp ) + strlen( s ) + 2 );
300 if ( *referralsp == NULL ) {
306 strcpy( *referralsp, LDAP_REF_STR );
308 strcat( *referralsp, "\n" );
310 strcat( *referralsp, s );