]> git.sur5r.net Git - openldap/commitdiff
Remove lint
authorKurt Zeilenga <kurt@openldap.org>
Tue, 6 Jun 2000 02:11:01 +0000 (02:11 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 6 Jun 2000 02:11:01 +0000 (02:11 +0000)
servers/slapd/back-ldbm/tools.c

index 5a91947ef1ca526258165ff4233f0b09283faa35..e2635ac8bf771715ba7c6f59c8974e22f2adfb4a 100644 (file)
@@ -225,7 +225,7 @@ int ldbm_tool_index_attr(
 #endif
 
        assert( desc != NULL );
-       attr_mask( be->be_private, desc, &indexmask );
+       attr_mask( be->be_private, at_cname, &indexmask );
 
        if ( (db = ldbm_cache_open( be, at_cname, LDBM_SUFFIX, LDBM_NEWDB ))
            == NULL )
@@ -259,9 +259,9 @@ int ldbm_tool_index_change(
 #else
        index_change_values( be,
                desc, bv, id, op );
+#endif
 
        return 0;
-#endif
 }
 
 int ldbm_tool_sync( BackendDB *be )