git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a015227
)
Use io_bufsize as window size in smbclient get command
author
Volker Lendecke
<vl@samba.org>
Sat, 1 Mar 2008 11:05:09 +0000
(12:05 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 12:28:23 +0000
(13:28 +0100)
(This used to be commit
e602f06cbba852a7eacd15b2511ef2571a95cc80
)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index c97f6223a78cb7a8a56484d13d928246644a11d1..9d298ae91b4c91d02584d77714aed084e232be82 100644
(file)
--- 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",