Skip to content

Commit

Permalink
dsdb: Fix a confusing parameter
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Michael Adam <[email protected]>
  • Loading branch information
vlendec authored and obnoxxx committed Sep 8, 2015
1 parent facb11b commit 04c8655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source4/dsdb/repl/replicated_objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04c8655

Please sign in to comment.