From d5e4b3bea8bd6e15539f71eebf5936859123de75 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 2 Dec 2006 09:17:18 +0000 Subject: r20001: Fix bug 4273, thanks to Pascal Terjan (This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505) --- source3/utils/net_rpc_samsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 904e49bbb3..3e19a12ac5 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -212,7 +212,7 @@ static void dump_database(struct rpc_pipe_client *pipe_hnd, uint32 db_type) result = rpccli_netlogon_sam_sync(pipe_hnd, mem_ctx, db_type, sync_context, &num_deltas, &hdr_deltas, &deltas); - if (NT_STATUS_IS_ERR(result)) + if (!NT_STATUS_IS_OK(result)) break; for (i = 0; i < num_deltas; i++) { -- cgit