summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-21 13:55:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:07 -0500
commitac8271a57c7e1ab1d2258319bc80e88ff0c3138c (patch)
treef836d9fb79bae4aa8bb3742a14f2467dc5b3e86a /source4/torture
parenta95b108959e4abb7a5c9a175f96b21796a387b26 (diff)
downloadsamba-ac8271a57c7e1ab1d2258319bc80e88ff0c3138c.tar.gz
samba-ac8271a57c7e1ab1d2258319bc80e88ff0c3138c.tar.bz2
samba-ac8271a57c7e1ab1d2258319bc80e88ff0c3138c.zip
r25292: minor cleanup
metze (This used to be commit a98205f26dfbf680ad6ac9f3ba2043b3e2864f99)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/winbind/struct_based.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index 69bb71ff49..d935d098c6 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -153,16 +153,14 @@ static bool torture_winbind_struct_priv_pipe_dir(struct torture_context *torture
static bool torture_winbind_struct_netbios_name(struct torture_context *torture)
{
- struct winbindd_request req;
struct winbindd_response rep;
const char *expected;
- ZERO_STRUCT(req);
ZERO_STRUCT(rep);
torture_comment(torture, "Running WINBINDD_NETBIOS_NAME (struct based)\n");
- DO_STRUCT_REQ_REP(WINBINDD_NETBIOS_NAME, &req, &rep);
+ DO_STRUCT_REQ_REP(WINBINDD_NETBIOS_NAME, NULL, &rep);
expected = torture_setting_string(torture,
"winbindd netbios name",
@@ -177,16 +175,14 @@ static bool torture_winbind_struct_netbios_name(struct torture_context *torture)
static bool torture_winbind_struct_domain_name(struct torture_context *torture)
{
- struct winbindd_request req;
struct winbindd_response rep;
const char *expected;
- ZERO_STRUCT(req);
ZERO_STRUCT(rep);
torture_comment(torture, "Running WINBINDD_DOMAIN_NAME (struct based)\n");
- DO_STRUCT_REQ_REP(WINBINDD_DOMAIN_NAME, &req, &rep);
+ DO_STRUCT_REQ_REP(WINBINDD_DOMAIN_NAME, NULL, &rep);
expected = torture_setting_string(torture,
"winbindd netbios domain",