]> git.sur5r.net Git - openldap/blobdiff - servers/ldapd/syntax.c
schema definitions from Active Directory.
[openldap] / servers / ldapd / syntax.c
index 9d6032a84ff2a4ce1223a43ac6e076081f596cf7..005fb78d6bb2336e4c9f206ddde407e32433fb19 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1990 Regents of the University of Michigan.
  * All rights reserved.
@@ -439,7 +440,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 );
                }