summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.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/nbio.c
parent8f41e54d538896a929ef8ebf224ddcfea7982ba8 (diff)
downloadsamba-9b168e128a74b7e816a6eea73d1b8db8b915b701.tar.gz
samba-9b168e128a74b7e816a6eea73d1b8db8b915b701.tar.bz2
samba-9b168e128a74b7e816a6eea73d1b8db8b915b701.zip
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/nbio.c')
-rw-r--r--source3/torture/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index 0da6bc084e..e6caf7476b 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -215,7 +215,7 @@ void nb_readx(int handle, int offset, int size, int ret_size)
int i, ret;
i = find_handle(handle);
- if ((ret=cli_read(c, ftable[i].fd, buf, offset, size)) != ret_size) {
+ if ((ret=cli_read_old(c, ftable[i].fd, buf, offset, size)) != ret_size) {
printf("(%d) ERROR: read failed on handle %d ofs=%d size=%d res=%d fd %d errno %d (%s)\n",
line_count, handle, offset, size, ret, ftable[i].fd, errno, strerror(errno));
exit(1);