diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 18:04:16 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 18:04:16 +0200 |
commit | d70efa57ceae1011a6a55d57d0152fd1bc2bb192 (patch) | |
tree | 92ee7a3f33ea51f34a33fee094eaed651215a3d3 /source3/client/client.c | |
parent | 2f265feb174de1f743e8102ad34b3bdbcd2897cc (diff) | |
parent | d805c714bb79a709716ec0373670283bfcd23c3c (diff) | |
download | samba-d70efa57ceae1011a6a55d57d0152fd1bc2bb192.tar.gz samba-d70efa57ceae1011a6a55d57d0152fd1bc2bb192.tar.bz2 samba-d70efa57ceae1011a6a55d57d0152fd1bc2bb192.zip |
Merge branch 'master' of git://git.samba.org/samba
Conflicts:
lib/util/asn1_proto.h
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 3 |
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; |