Searched refs:ctrl_dst (Results 1 – 1 of 1) sorted by relevance
23 static int ldap_control_copy_contents( LDAPControl *ctrl_dst,403 ldap_control_copy_contents( LDAPControl *ctrl_dst, LDAPControl *ctrl_src ) in ldap_control_copy_contents() argument407 if ( NULL == ctrl_dst || NULL == ctrl_src ) { in ldap_control_copy_contents()411 ctrl_dst->ldctl_iscritical = ctrl_src->ldctl_iscritical; in ldap_control_copy_contents()414 if (( ctrl_dst->ldctl_oid = nsldapi_strdup( ctrl_src->ldctl_oid )) in ldap_control_copy_contents()421 ctrl_dst->ldctl_value.bv_len = 0; in ldap_control_copy_contents()422 ctrl_dst->ldctl_value.bv_val = NULL; in ldap_control_copy_contents()424 ctrl_dst->ldctl_value.bv_len = len; in ldap_control_copy_contents()425 if (( ctrl_dst->ldctl_value.bv_val = NSLDAPI_MALLOC( len )) in ldap_control_copy_contents()427 NSLDAPI_FREE( ctrl_dst->ldctl_oid ); in ldap_control_copy_contents()[all …]