diff options
author | Volker Lendecke <vl@samba.org> | 2015-09-08 07:47:55 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-09-08 10:45:15 +0200 |
commit | 04c86557195a014bd7e872014e6144c100ead0a1 (patch) | |
tree | 37b0cec7cdf4ff389217a4e461b7311f076cfdea /source4/dsdb | |
parent | facb11b61a6cd322c8b4c42ca2caefe0c509c37c (diff) | |
download | samba-04c86557195a014bd7e872014e6144c100ead0a1.tar.gz |
dsdb: Fix a confusing parameter
LDB_SCOPE_BASE is 0, so this works, but the corresponding parameter
is "struct ldb_control **controls", so I'd say NULL is more appropriate
here. Fixes a warning I just saw pass by.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/repl/replicated_objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index 97b8b2a7a3a..df880ad7373 100644 --- a/source4/dsdb/repl/replicated_objects.c +++ b/source4/dsdb/repl/replicated_objects.c @@ -902,7 +902,7 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb, ret = ldb_build_mod_req(&req, ldb, objects, msg, - LDB_SCOPE_BASE, + NULL, NULL, ldb_op_default_callback, NULL); |