diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-07 05:22:14 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-06 23:27:02 -0600 |
commit | bb93a7ed5ea32aa947c4a15197a34a0eced14e10 (patch) | |
tree | 66634f41993287ab0ccc91428225a08095270e9b /source4/lib/ldb/ldb_tdb | |
parent | 8174ed1ebec29c597645b61943be533a4ccfba24 (diff) | |
download | samba-bb93a7ed5ea32aa947c4a15197a34a0eced14e10.tar.gz samba-bb93a7ed5ea32aa947c4a15197a34a0eced14e10.tar.bz2 samba-bb93a7ed5ea32aa947c4a15197a34a0eced14e10.zip |
r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett
(This used to be commit 0016231edd514e8db620bafc44ce877fcac19ed9)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c index cf9380f8c0..d8776f48e2 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_index.c +++ b/source4/lib/ldb/ldb_tdb/ldb_index.c @@ -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++; - return 0; + return LDB_SUCCESS; } /* |