]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/attr.c
ITS#4088 force cursors to use same locker
[openldap] / servers / slapd / back-bdb / attr.c
index 562048413b9a74d26dad2178063353e1c0ce4356..f058c1f59672ddcda65b19638977d5d8ee64b923 100644 (file)
@@ -258,7 +258,7 @@ bdb_attr_index_config(
                                continue;
                        }
                        fprintf( stderr, "%s: line %d: duplicate index definition "
-                               "for attr \"%s\" (ignored)\n",
+                               "for attr \"%s\"" SLAPD_CONF_UNKNOWN_IGNORED ".\n",
                                fname, lineno, attrs[i] );
 
                        return LDAP_PARAM_ERROR;
@@ -289,6 +289,7 @@ bdb_attr_index_unparser( void *v1, void *v2 )
                bv.bv_val = ptr;
                ber_bvarray_add( bva, &bv );
        }
+       return 0;
 }
 
 static AttributeDescription addef = { NULL, NULL, BER_BVC("default") };