1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

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>
This commit is contained in:
Volker Lendecke 2015-09-08 07:47:55 +02:00 committed by Michael Adam
parent facb11b61a
commit 04c8655719

View File

@ -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);