summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-08-17 09:51:12 +0200
committerMichael Adam <obnox@samba.org>2011-10-11 14:17:55 +0200
commit8f098a635f713652c4846d71e24c0a199c25b8b7 (patch)
tree5ec4f95af2f27b95da22a77c4c5fe7e7e101f138 /source3/utils
parent6608ba850b45e2f47cd1c2c4b1ad676150a1deea (diff)
downloadsamba-8f098a635f713652c4846d71e24c0a199c25b8b7.tar.gz
samba-8f098a635f713652c4846d71e24c0a199c25b8b7.tar.bz2
samba-8f098a635f713652c4846d71e24c0a199c25b8b7.zip
s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an additional parameter
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_idmap_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_idmap_check.c b/source3/utils/net_idmap_check.c
index 14f2f8d10f..17389a53bb 100644
--- a/source3/utils/net_idmap_check.c
+++ b/source3/utils/net_idmap_check.c
@@ -892,7 +892,7 @@ static bool check_do_checks(struct check_ctx* ctx)
return false;
}
- status = dbwrap_traverse(ctx->db, traverse_check, ctx);
+ status = dbwrap_traverse(ctx->db, traverse_check, ctx, NULL);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("failed to traverse %s\n", ctx->name));
@@ -929,7 +929,7 @@ static bool check_transaction_cancel(struct check_ctx* ctx) {
static void check_diff_list(struct check_ctx* ctx) {
- NTSTATUS status = dbwrap_traverse(ctx->diff, traverse_print_diff, ctx);
+ NTSTATUS status = dbwrap_traverse(ctx->diff, traverse_print_diff, ctx, NULL);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("failed to traverse diff\n"));
@@ -965,7 +965,7 @@ static bool check_commit(struct check_ctx* ctx)
return false;
}
- status = dbwrap_traverse(ctx->diff, traverse_commit, ctx);
+ status = dbwrap_traverse(ctx->diff, traverse_commit, ctx, NULL);
if (!NT_STATUS_IS_OK(status)) {
check_transaction_cancel(ctx);