diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 07:39:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:40 -0500 |
commit | 75ddf59ea110117578acd3a7b889549bfb40473c (patch) | |
tree | 426a4ad58c5e827c846b6a3f1ace4bbbf8749d03 /source4/torture | |
parent | a5bd1ccadab723c531963c219a1ac2b6b0c8b845 (diff) | |
download | samba-75ddf59ea110117578acd3a7b889549bfb40473c.tar.gz samba-75ddf59ea110117578acd3a7b889549bfb40473c.tar.bz2 samba-75ddf59ea110117578acd3a7b889549bfb40473c.zip |
r5308: trimmed back a lot of the old macros from smb_macros.h
(This used to be commit bf43c9bdcf9e654d123f6a2b29feb9189ca9e561)
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; |