summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-07 05:22:14 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-06 23:27:02 -0600
commitbb93a7ed5ea32aa947c4a15197a34a0eced14e10 (patch)
tree66634f41993287ab0ccc91428225a08095270e9b /source4
parent8174ed1ebec29c597645b61943be533a4ccfba24 (diff)
downloadsamba-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')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_index.c2
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;
}
/*