1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r25292: minor cleanup

metze
(This used to be commit a98205f26dfbf680ad6ac9f3ba2043b3e2864f99)
This commit is contained in:
Stefan Metzmacher 2007-09-21 13:55:21 +00:00 committed by Gerald (Jerry) Carter
parent a95b108959
commit ac8271a57c

View File

@ -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",