summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 17:51:30 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 17:51:30 +0200
commitd805c714bb79a709716ec0373670283bfcd23c3c (patch)
treefc33a2256c0fe999ccd4a9f4a6858790fa843766 /source3
parentcf659fa4fe7369ac58ef547f744c0ff3f9fb137a (diff)
parent097f40249c664cfc76794894440e27496ab82a76 (diff)
downloadsamba-d805c714bb79a709716ec0373670283bfcd23c3c.tar.gz
samba-d805c714bb79a709716ec0373670283bfcd23c3c.tar.bz2
samba-d805c714bb79a709716ec0373670283bfcd23c3c.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 26badc4051..39f8f90bba 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1652,6 +1652,9 @@ static int do_put(const char *rname, const char *lname, bool reput)
d_printf("ERROR: Not enough memory!\n");
return 1;
}
+
+ x_setvbuf(f, NULL, X_IOFBF, maxwrite);
+
while (!x_feof(f)) {
int n = maxwrite;
int ret;