diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-20 23:19:36 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-20 23:19:36 +0000 |
commit | e1b5599cc7f138424bbcec87822e6f5d3672d286 (patch) | |
tree | 1f59b6638b5da9d1c178df98a6a6f26282dad3fc /source3/torture | |
parent | e5c79dd79eb86c4fa790cd919056ed0fca3c73c1 (diff) | |
download | samba-e1b5599cc7f138424bbcec87822e6f5d3672d286.tar.gz samba-e1b5599cc7f138424bbcec87822e6f5d3672d286.tar.bz2 samba-e1b5599cc7f138424bbcec87822e6f5d3672d286.zip |
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
(This used to be commit a6cb7af9bad1610e802fa5cddbf68fb887bc2974)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index e612ddea92..57ba24e63e 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2822,12 +2822,15 @@ static BOOL run_deletetest(int dummy) goto fail; } -#if 0 - { - uint32 accinfo = 0; - cli_qfileinfo_test(cli1, fnum1, SMB_FILE_ACCESS_INFORMATION, (char *)&accinfo); - printf("access mode = 0x%lx\n", accinfo); - } +#if 0 /* JRATEST */ + { + uint32 *accinfo = NULL; + uint32 len; + cli_qfileinfo_test(cli1, fnum1, SMB_FILE_ACCESS_INFORMATION, (char **)&accinfo, &len); + if (accinfo) + printf("access mode = 0x%lx\n", *accinfo); + SAFE_FREE(accinfo); + } #endif if (!cli_close(cli1, fnum1)) { |