From: Andrew Tridgell Date: Thu, 25 Sep 2008 00:17:41 +0000 (-0700) Subject: fixed setpathinfo in gentest to not zero the filename/handle X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76835f103ec65bb00ff3ca11015176ea2f5ecb06;p=thirdparty%2Fsamba.git fixed setpathinfo in gentest to not zero the filename/handle --- diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 1b8f97596bd..fecdfda56ef 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);