summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-12-05 00:50:29 +0000
committerHerb Lewis <herb@samba.org>2002-12-05 00:50:29 +0000
commit21e21dfd214727e1705054d374a836b202712f90 (patch)
tree8870a62cbaa84cbfc1677d3d1ed150e22aa31727 /source3/client
parentd4103a09918bf375804bb102ac29237345f59978 (diff)
downloadsamba-21e21dfd214727e1705054d374a836b202712f90.tar.gz
samba-21e21dfd214727e1705054d374a836b202712f90.tar.bz2
samba-21e21dfd214727e1705054d374a836b202712f90.zip
fix stat reporting on put command
(This used to be commit aa38aaf36338a2c9e708410d6b1befa6d65c93cc)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c8529b84f2..76e07cb4f3 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1062,7 +1062,7 @@ static int do_put(char *rname, char *lname, BOOL reput)
int fnum;
XFILE *f;
int start = 0;
- int nread = 0;
+ off_t nread = 0;
char *buf = NULL;
int maxwrite = io_bufsize;
int rc = 0;