diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-06 16:13:42 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-06 16:13:42 -0700 |
commit | 606edf0f350000978a437ddfb7c23525a16d9854 (patch) | |
tree | 976f7948635fcc032edc247d0891ae28a5af1ada /source3/torture | |
parent | 78fb479325ce7073ab8383ada3903080d12aef91 (diff) | |
download | samba-606edf0f350000978a437ddfb7c23525a16d9854.tar.gz samba-606edf0f350000978a437ddfb7c23525a16d9854.tar.bz2 samba-606edf0f350000978a437ddfb7c23525a16d9854.zip |
Make cli_setatr async.
Jeremy.
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index bc7ac12a76..9c0449a16e 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2485,7 +2485,7 @@ static bool run_attrtest(int dummy) t2 = t-60*60*24; /* 1 day ago */ - if (!cli_setatr(cli, fname, 0, t2)) { + if (!NT_STATUS_IS_OK(cli_setatr(cli, fname, 0, t2))) { printf("setatr failed (%s)\n", cli_errstr(cli)); correct = True; } @@ -3726,7 +3726,7 @@ static bool run_opentest(int dummy) return False; } - if (!cli_setatr(cli1, fname, aRONLY, 0)) { + if (!NT_STATUS_IS_OK(cli_setatr(cli1, fname, aRONLY, 0))) { printf("cli_setatr failed (%s)\n", cli_errstr(cli1)); return False; } |