summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-02 09:17:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:18 -0500
commitd5e4b3bea8bd6e15539f71eebf5936859123de75 (patch)
treeaa89f5838e726632a37beaea9f5c8e0d3b48f960
parent61ea96ec79fb9807fb234fe7fc9a59458653c6e5 (diff)
downloadsamba-d5e4b3bea8bd6e15539f71eebf5936859123de75.tar.gz
samba-d5e4b3bea8bd6e15539f71eebf5936859123de75.tar.bz2
samba-d5e4b3bea8bd6e15539f71eebf5936859123de75.zip
r20001: Fix bug 4273, thanks to Pascal Terjan
(This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505)
-rw-r--r--source3/utils/net_rpc_samsync.c2
1 files changed, 1 insertions, 1 deletions
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++) {