diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-01 12:05:09 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-06 13:28:23 +0100 |
commit | a8003f1af2169d897775c843520d5120c1789624 (patch) | |
tree | 5dc34b36b4951e5f2215a4bec06e5be884c92ee1 /source3/client | |
parent | a01522749055d5d44865a255d094ff5255f8ac04 (diff) | |
download | samba-a8003f1af2169d897775c843520d5120c1789624.tar.gz samba-a8003f1af2169d897775c843520d5120c1789624.tar.bz2 samba-a8003f1af2169d897775c843520d5120c1789624.zip |
Use io_bufsize as window size in smbclient get command
(This used to be commit e602f06cbba852a7eacd15b2511ef2571a95cc80)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index c97f6223a7..9d298ae91b 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1046,7 +1046,7 @@ static int do_get(const char *rname, const char *lname_in, bool reget) DEBUG(1,("getting file %s of size %.0f as %s ", rname, (double)size, lname)); - status = cli_pull(targetcli, fnum, start, size, 1024*1024, + status = cli_pull(targetcli, fnum, start, size, io_bufsize, writefile_sink, (void *)&handle, &nread); if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, "parallel_read returned %s\n", |