summaryrefslogtreecommitdiffstats
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
commitaa38aaf36338a2c9e708410d6b1befa6d65c93cc (patch)
treecbd2a66cfa3de6284043d2cc2f64b5c18e60ed4e
parentb60a441b91dccdeadc125476ac3306b938941057 (diff)
downloadsamba-aa38aaf36338a2c9e708410d6b1befa6d65c93cc.tar.gz
samba-aa38aaf36338a2c9e708410d6b1befa6d65c93cc.tar.xz
samba-aa38aaf36338a2c9e708410d6b1befa6d65c93cc.zip
fix stat reporting on put command
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index c8529b84f27..76e07cb4f32 100644
--- a/source/client/client.c
+++ b/source/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;