]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-meta/attribute.c
Preliminary ldapAdd support
[openldap] / servers / slapd / back-meta / attribute.c
index eb38de3786cba0e05efe840ab3a36413d9d75c15..7528e06bbfe643e0c4f9d50716cc3288c007d61d 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1999-2004 The OpenLDAP Foundation.
+ * Copyright 1999-2005 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * Portions Copyright 1999-2003 Howard Chu.
  * All rights reserved.
@@ -91,7 +91,7 @@ meta_back_attribute(
        } /* else */
 
        candidate = meta_back_select_unique_candidate( li, ndn );
-       if ( candidate == -1 ) {
+       if ( candidate == META_TARGET_NONE ) {
                return 1;
        }