mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 13:09:42 -05:00
Fix NULLxxx -> NULL
This commit is contained in:
parent
03760c89ec
commit
c4a13efbea
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable )
|
|||
{
|
||||
short *optionsp;
|
||||
|
||||
optionsp = ( entry == NULLMSG ) ? &ld->ld_lberoptions :
|
||||
optionsp = ( entry == NULL ) ? &ld->ld_lberoptions :
|
||||
&entry->lm_ber->ber_options;
|
||||
|
||||
if ( enable ) {
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ photo2ldif( PS ps, AttributeValue av )
|
|||
if ( pe->pe_class == PE_CLASS_UNIV && pe->pe_form == PE_FORM_PRIM
|
||||
&& pe->pe_id == PE_PRIM_BITS ) {
|
||||
len = ps_get_abs( pe );
|
||||
if (( phber = der_alloc()) == NULLBER ) {
|
||||
if (( phber = der_alloc()) == NULL ) {
|
||||
return( -1 );
|
||||
}
|
||||
if ( ber_printf( phber, "t{[tB]{B}}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue