From 76835f103ec65bb00ff3ca11015176ea2f5ecb06 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Sep 2008 17:17:41 -0700 Subject: fixed setpathinfo in gentest to not zero the filename/handle --- source4/torture/gentest.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 1b8f97596b..fecdfda56e 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -1187,7 +1187,6 @@ static bool compare_status(NTSTATUS status1, NTSTATUS status2) s = talloc_asprintf(current_op.mem_ctx, "%s:%s", nt_errstr(status1), nt_errstr(status2)); - printf("pattern: %s\n", s); if (ignore_pattern(s)) { return true; } @@ -2393,9 +2392,8 @@ static bool handler_smb_spathinfo(int instance) union smb_setfileinfo parm[NSERVERS]; NTSTATUS status[NSERVERS]; - parm[0].generic.in.file.path = gen_fname_open(instance); - gen_setfileinfo(instance, &parm[0]); + parm[0].generic.in.file.path = gen_fname_open(instance); GEN_COPY_PARM; @@ -2764,9 +2762,8 @@ static bool handler_smb2_sfileinfo(int instance) union smb_setfileinfo parm[NSERVERS]; NTSTATUS status[NSERVERS]; - parm[0].generic.in.file.fnum = gen_fnum(instance); - gen_setfileinfo(instance, &parm[0]); + parm[0].generic.in.file.fnum = gen_fnum(instance); GEN_COPY_PARM; GEN_SET_FNUM_SMB2(generic.in.file.handle); -- cgit