diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 2 | ||||
-rw-r--r-- | source4/torture/torture.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index f386c84a91..e10c088e36 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -790,7 +790,7 @@ static BOOL test_DsReplicaSync(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.req.req1.info->unknown1 = 32; r.in.req.req1.info->unknown2 = 120; ZERO_STRUCT(r.in.req.req1.info->guid1); - ZERO_ARRAY(r.in.req.req1.info->unknown3); + ZERO_STRUCT(r.in.req.req1.info->unknown3); r.in.req.req1.info->nc_dn = priv->domain_obj_dn?priv->domain_obj_dn:""; r.in.req.req1.guid1 = priv->dcinfo.ntds_guid; r.in.req.req1.string1 = NULL; diff --git a/source4/torture/torture.c b/source4/torture/torture.c index b7ca730d1f..6b92bce691 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -527,6 +527,8 @@ static BOOL rw_torture2(struct smbcli_state *c1, struct smbcli_state *c2) return correct; } +#define BOOLSTR(b) ((b) ? "Yes" : "No") + static BOOL run_readwritetest(void) { struct smbcli_state *cli1, *cli2; |