Fix NULLxxx -> NULL

This commit is contained in:
Hallvard Furuseth 1999-07-13 06:37:19 +00:00
parent 03760c89ec
commit c4a13efbea
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) {

View file

@ -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}}",