r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jan 2008 11:22:14 +0000 (05:22 -0600)
committerStefan Metzmacher <metze@samba.org>
Mon, 7 Jan 2008 05:27:02 +0000 (23:27 -0600)
Andrew Bartlett

source/lib/ldb/ldb_tdb/ldb_index.c

index cf9380f8c089bf47e454d8d292acdbcfa6b6cbe0..d8776f48e254a53df309754a44f67acb3e1d98ac 100644 (file)
@@ -886,7 +886,7 @@ static int ltdb_index_add1_add(struct ldb_context *ldb,
        msg->elements[idx].values[msg->elements[idx].num_values].data = discard_const_p(uint8_t, dn);
        msg->elements[idx].num_values++;
 
        msg->elements[idx].values[msg->elements[idx].num_values].data = discard_const_p(uint8_t, dn);
        msg->elements[idx].num_values++;
 
-       return 0;
+       return LDB_SUCCESS;
 }
 
 /*
 }
 
 /*