From c4a13efbeae97931a65eeb338ad80410c86929b6 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 13 Jul 1999 06:37:19 +0000 Subject: [PATCH] Fix NULLxxx -> NULL --- libraries/libldap/charset.c | 2 +- servers/slapd/tools/ldapsyntax.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/charset.c b/libraries/libldap/charset.c index 75c30ff9d9..be85707a83 100644 --- a/libraries/libldap/charset.c +++ b/libraries/libldap/charset.c @@ -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 ) { diff --git a/servers/slapd/tools/ldapsyntax.c b/servers/slapd/tools/ldapsyntax.c index 542792b231..a8fd9fab3a 100644 --- a/servers/slapd/tools/ldapsyntax.c +++ b/servers/slapd/tools/ldapsyntax.c @@ -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}}", -- 2.39.5