X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fldapd%2Fsyntax.c;h=4658360289214c5571c5d4ed68c0bc9204c1284b;hb=79fb44b129849ff2b3ec61568b6a3abf903bdc82;hp=9d6032a84ff2a4ce1223a43ac6e076081f596cf7;hpb=0310b8b04852a0f9857cb1119c0e600b8753c099;p=openldap diff --git a/servers/ldapd/syntax.c b/servers/ldapd/syntax.c index 9d6032a84f..4658360289 100644 --- a/servers/ldapd/syntax.c +++ b/servers/ldapd/syntax.c @@ -439,7 +439,7 @@ put_photo_value( BerElement *ber, AttributeValue av ) len = ps_get_abs( pe ); Debug( LDAP_DEBUG_ARGS, "put_photo_val: ber_printf %d bytes\n", len, 0, 0 ); - if (( phber = der_alloc()) == NULLBER ) { + if (( phber = der_alloc()) == NULL ) { Debug( LDAP_DEBUG_ANY, "der_alloc failed\n", 0, 0, 0 ); return( -1 ); }