summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-06-03 13:15:17 -0700
committerJeremy Allison <jra@samba.org>2020-06-04 17:11:38 +0000
commitad5d5d94a3ff185e61ec1ca7d405aa2845653992 (patch)
tree56c38e9fc07b644113abad69f806092e26b7e660 /source3/torture
parent2f1fbb678b7cdd77cbd7d8c68df0b71752b07e46 (diff)
downloadsamba-ad5d5d94a3ff185e61ec1ca7d405aa2845653992.tar.gz
s3: libsmb: Change cli_getatr() and async versions to return a 32-bit attribute.
Fix all callers. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index ee9219f2404..cf1f2fd8e00 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3975,9 +3975,9 @@ static bool run_browsetest(int dummy)
static bool check_attributes(struct cli_state *cli,
const char *fname,
- uint16_t expected_attrs)
+ uint32_t expected_attrs)
{
- uint16_t attrs = 0;
+ uint32_t attrs = 0;
NTSTATUS status = cli_getatr(cli,
fname,
&attrs,
@@ -6248,7 +6248,7 @@ static bool run_rename(int dummy)
const char *fname1 = "\\test1.txt";
bool correct = True;
uint16_t fnum1;
- uint16_t attr;
+ uint32_t attr;
NTSTATUS status;
printf("starting rename test\n");
@@ -9539,7 +9539,7 @@ static bool run_openattrtest(int dummy)
const char *fname = "\\openattr.file";
uint16_t fnum1;
bool correct = True;
- uint16_t attr;
+ uint32_t attr;
unsigned int i, j, k, l;
NTSTATUS status;