summaryrefslogtreecommitdiff
path: root/source3/torture/denytest.c
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-19 10:48:16 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-20 22:09:25 +0200
commit9b168e128a74b7e816a6eea73d1b8db8b915b701 (patch)
tree67aebe2769008c3b641f32cc438c2768b98fc7dc /source3/torture/denytest.c
parent8f41e54d538896a929ef8ebf224ddcfea7982ba8 (diff)
downloadsamba-9b168e128a74b7e816a6eea73d1b8db8b915b701.tar.gz
s3-libsmb: replace cli_read() with cli_read_old()
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture/denytest.c')
-rw-r--r--source3/torture/denytest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/denytest.c b/source3/torture/denytest.c
index be01e829dc9..9fea7c5bea9 100644
--- a/source3/torture/denytest.c
+++ b/source3/torture/denytest.c
@@ -1451,7 +1451,7 @@ bool torture_denytest1(int dummy)
} else {
char x = 1;
res = A_0;
- if (cli_read(cli1, fnum2, (char *)&x, 0, 1) == 1) {
+ if (cli_read_old(cli1, fnum2, (char *)&x, 0, 1) == 1) {
res += A_R;
}
if (NT_STATUS_IS_OK(cli_writeall(cli1, fnum2, 0,
@@ -1543,7 +1543,7 @@ bool torture_denytest2(int dummy)
} else {
char x = 1;
res = A_0;
- if (cli_read(cli2, fnum2, (char *)&x, 0, 1) == 1) {
+ if (cli_read_old(cli2, fnum2, (char *)&x, 0, 1) == 1) {
res += A_R;
}
if (NT_STATUS_IS_OK(cli_writeall(cli2, fnum2, 0,