From ac8271a57c7e1ab1d2258319bc80e88ff0c3138c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 21 Sep 2007 13:55:21 +0000 Subject: r25292: minor cleanup metze (This used to be commit a98205f26dfbf680ad6ac9f3ba2043b3e2864f99) --- source4/torture/winbind/struct_based.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'source4') 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", -- cgit